/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SCCP.cpp | 89 bool isConstant() const { in isConstant() function in __anon59b7b7ca0111::LatticeVal 95 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 136 if (isConstant()) in getConstantInt() 813 else if (OpSt.isConstant()) // Propagate constant value in visitCastInst() 896 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst() 915 if (V1State.isConstant() && V2State.isConstant()) in visitBinaryOperator() 985 if (In1.isConstant() && In2.isConstant()) { in visitBinaryOperator() 990 else if (Result.isConstant() && Result.getConstant() != V) { in visitBinaryOperator() 999 if (Result.isConstant()) { in visitBinaryOperator() 1031 if (V1State.isConstant() && V2State.isConstant()) in visitCmpInst() [all …]
|
/external/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 55 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 61 GlobalVariable(Module &M, Type *Ty, bool isConstant, 140 bool isConstant() const { return isConstantGlobal; } in isConstant() function
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | GlobalVariable.h | 53 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 58 GlobalVariable(Module &M, Type *Ty, bool isConstant, 134 bool isConstant() const { return isConstantGlobal; } in isConstant() function
|
/external/llvm/lib/CodeGen/ |
D | PseudoSourceValue.cpp | 35 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue 53 bool FixedStackPseudoSourceValue::isConstant( in isConstant() function in FixedStackPseudoSourceValue 78 bool CallEntryPseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in CallEntryPseudoSourceValue
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 91 bool isConstant() const { in isConstant() function in __anon10360b9e0111::LatticeVal 97 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 138 if (isConstant()) in getConstantInt() 775 else if (OpSt.isConstant()) { in visitCastInst() 864 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst() 883 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator() 945 if (V1State.isConstant() && V2State.isConstant()) { in visitCmpInst() 992 assert(State.isConstant() && "Unknown state!"); in visitGetElementPtrInst() 1037 if (!PtrVal.isConstant() || I.isVolatile()) in visitLoadInst() 1097 assert(State.isConstant() && "Unknown state!"); in visitCallSite() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | PseudoSourceValue.h | 73 virtual bool isConstant(const MachineFrameInfo *) const; 97 bool isConstant(const MachineFrameInfo *MFI) const override; 113 bool isConstant(const MachineFrameInfo *) const override;
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | PseudoSourceValue.h | 40 virtual bool isConstant(const MachineFrameInfo *) const; 100 virtual bool isConstant(const MachineFrameInfo *MFI) const;
|
/external/skia/src/sksl/ir/ |
D | SkSLConstructor.h | 59 bool isConstant() const override { in isConstant() function 61 if (!fArguments[i]->isConstant()) { in isConstant()
|
D | SkSLBoolLiteral.h | 28 bool isConstant() const override { in isConstant() function
|
D | SkSLFloatLiteral.h | 28 bool isConstant() const override { in isConstant() function
|
D | SkSLIntLiteral.h | 30 bool isConstant() const override { in isConstant() function
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LazyValueInfo.cpp | 101 bool isConstant() const { return Tag == constant; } in isConstant() function in __anon7d505c1a0111::LVILatticeVal 107 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 138 assert((!isConstant() || getConstant() == V) && in markConstant() 154 assert((!isConstant() || getConstant() != V) && in markNotConstant() 158 assert(isUndefined() || isConstant()); in markNotConstant() 197 if (isConstant()) { in mergeIn() 198 if (RHS.isConstant()) { in mergeIn() 230 if (RHS.isConstant()) { in mergeIn() 1027 if (Result.isConstant()) in getConstant() 1043 if (Result.isConstant()) in getConstantOnEdge() [all …]
|
/external/skia/src/gpu/ |
D | GrPipelineAnalysis.h | 44 bool isConstant(GrColor* color) const { in isConstant() function 77 if (input.isConstant(&color)) { in GrColorFragmentProcessorAnalysis()
|
D | GrProcessorSet.cpp | 91 fValidInputColor = colorInput.isConstant(&fInputColor); in internalInit() 120 if (outputColor.isConstant(&fKnownOutputColor)) { in internalInit()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | PseudoSourceValue.cpp | 82 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue 111 bool FixedStackPseudoSourceValue::isConstant(const MachineFrameInfo *MFI) const{ in isConstant() function in FixedStackPseudoSourceValue
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 20 static bool CheapToScalarize(Value *V, bool isConstant) { in CheapToScalarize() argument 24 if (isConstant) return true; in CheapToScalarize() 37 if (I->getOpcode() == Instruction::InsertElement && isConstant && in CheapToScalarize() 44 (CheapToScalarize(BO->getOperand(0), isConstant) || in CheapToScalarize() 45 CheapToScalarize(BO->getOperand(1), isConstant))) in CheapToScalarize() 49 (CheapToScalarize(CI->getOperand(0), isConstant) || in CheapToScalarize() 50 CheapToScalarize(CI->getOperand(1), isConstant))) in CheapToScalarize()
|
/external/skia/src/core/ |
D | SkColorShader.h | 28 bool isConstant() const override { return true; } in isConstant() function 85 bool isConstant() const override { return true; } in isConstant() function
|
/external/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 121 bool isConstant() const { return Tag == constant; } in isConstant() function in __anon33ceafee0111::LVILatticeVal 127 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 158 assert((!isConstant() || getConstant() == V) && in markConstant() 174 assert((!isConstant() || getConstant() != V) && in markNotConstant() 178 assert(isUndefined() || isConstant()); in markNotConstant() 217 if (isConstant()) { in mergeIn() 218 if (RHS.isConstant()) { in mergeIn() 243 if (RHS.isConstant()) { in mergeIn() 306 if (Val.isConstant()) in hasSingleValue() 1488 if (Result.isConstant()) in getConstant() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SVals.cpp | 174 bool SVal::isConstant() const { in isConstant() function in SVal 178 bool SVal::isConstant(int I) const { in isConstant() function in SVal 187 return isConstant(0); in isZeroConstant()
|
/external/doclava/src/com/google/doclava/ |
D | FieldInfo.java | 55 return isConstant(isFinal, isStatic, constantValue) ? "constant" : "field"; in chooseKind() 68 static boolean isConstant(boolean isFinal, boolean isStatic, Object constantValue) in isConstant() method in FieldInfo 81 public boolean isConstant() { in isConstant() method in FieldInfo 82 return isConstant(isFinal(), isStatic(), mConstantValue); in isConstant()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 137 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule() 166 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 103 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in mergeConstants() 137 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in mergeConstants()
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 59 if (GV->isConstant()) in isSuitableForBSS() 158 if (GVar->isConstant()) { in getKindForGlobal()
|
/external/clang/lib/CodeGen/ |
D | CGBlocks.h | 168 bool isConstant() const { return !isIndex(); } in isConstant() function 188 assert(isConstant()); in getConstant()
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkModules.cpp | 567 if (DstGV->isConstant() != SrcGV->isConstant()) in linkAppendingVarProto() 587 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(), in linkAppendingVarProto() 636 if (DGVar->isDeclaration() && SGV->isConstant() && !DGVar->isConstant()) in linkGlobalProto() 658 SGV->isConstant(), SGV->getLinkage(), /*init*/0, in linkGlobalProto()
|