Home
last modified time | relevance | path

Searched refs:isConstant (Results 1 – 25 of 182) sorted by relevance

12345678

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSCCP.cpp89 bool isConstant() const { in isConstant() function in __anon31671a070111::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/skqp/src/sksl/ir/
DSkSLVariableReference.h77 bool isConstant() const override { in isConstant() function
87 ASSERT(expr->isConstant()); in copy_constant()
128 fVariable.fInitialValue->isConstant()) { in constantPropagate()
133 (*exprIter->second)->isConstant()) { in constantPropagate()
DSkSLSetting.h25 ASSERT(fValue->isConstant()); in Setting()
39 bool isConstant() const override { in isConstant() function
DSkSLPrefixExpression.h27 bool isConstant() const override { in isConstant() function
28 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant()
DSkSLConstructor.h76 bool isConstant() const override { in isConstant() function
78 if (!fArguments[i]->isConstant()) { in isConstant()
158 ASSERT(this->isConstant()); in getMatComponent()
/external/skia/src/sksl/ir/
DSkSLVariableReference.h80 bool isConstant() const override { in isConstant() function
90 ASSERT(expr->isConstant()); in copy_constant()
131 fVariable.fInitialValue->isConstant()) { in constantPropagate()
136 (*exprIter->second)->isConstant()) { in constantPropagate()
DSkSLSetting.h25 ASSERT(fValue->isConstant()); in Setting()
39 bool isConstant() const override { in isConstant() function
DSkSLPrefixExpression.h27 bool isConstant() const override { in isConstant() function
28 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant()
DSkSLConstructor.h76 bool isConstant() const override { in isConstant() function
78 if (!fArguments[i]->isConstant()) { in isConstant()
158 ASSERT(this->isConstant()); in getMatComponent()
/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalVariable.h53 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/include/llvm/IR/
DGlobalVariable.h55 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/llvm/lib/Transforms/Scalar/
DSCCP.cpp91 bool isConstant() const { in isConstant() function in __anona5d8a6db0111::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/lib/CodeGen/
DPseudoSourceValue.cpp35 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/include/llvm/CodeGen/
DPseudoSourceValue.h73 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/
DPseudoSourceValue.h40 virtual bool isConstant(const MachineFrameInfo *) const;
100 virtual bool isConstant(const MachineFrameInfo *MFI) const;
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp101 bool isConstant() const { return Tag == constant; } in isConstant() function in __anon54ffbe570111::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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp20 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/swiftshader/third_party/LLVM/lib/CodeGen/
DPseudoSourceValue.cpp82 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/skqp/experimental/skottie/
DSkottieAnimator.cpp78 bool isConstant() const { return vidx0 == vidx1; } in isConstant() function
82 return t0 < t1 || this->isConstant(); in isValid()
95 SkASSERT(!rec.isConstant()); in localT()
259 if (rec.isConstant() || t <= rec.t0) { in eval()
/external/skia/experimental/skottie/
DSkottieAnimator.cpp78 bool isConstant() const { return vidx0 == vidx1; } in isConstant() function
82 return t0 < t1 || this->isConstant(); in isValid()
95 SkASSERT(!rec.isConstant()); in localT()
259 if (rec.isConstant() || t <= rec.t0) { in eval()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp121 bool isConstant() const { return Tag == constant; } in isConstant() function in __anonc9714b2b0111::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/skqp/src/shaders/
DSkColorShader.h29 bool isConstant() const override { return true; } in isConstant() function
85 bool isConstant() const override { return true; } in isConstant() function
/external/skia/src/shaders/
DSkColorShader.h29 bool isConstant() const override { return true; } in isConstant() function
85 bool isConstant() const override { return true; } in isConstant() function
/external/clang/lib/StaticAnalyzer/Core/
DSVals.cpp174 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/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DConstantMerge.cpp137 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()
166 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()

12345678