Home
last modified time | relevance | path

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

12345678910>>...12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DValueLattice.h97 if ((isConstant() || isNotConstant()) && !Other.isConstant() &&
144 bool isConstant() const { return Tag == constant; } in isConstant() function
150 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant()
166 if (isConstant() && isa<ConstantInt>(getConstant())) { in asConstantInteger()
178 if (isConstant() || isNotConstant()) in markOverdefined()
194 assert((!isConstant() || getConstant() == V) && in markConstant()
210 assert((!isConstant() || getConstant() != V) && in markNotConstant()
214 assert(isUndefined() || isConstant()); in markNotConstant()
254 if (isConstant()) { in mergeIn()
255 if (RHS.isConstant() && getConstant() == RHS.getConstant()) in mergeIn()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSCCP.cpp89 bool isConstant() const { in isConstant() function in __anon967d13930111::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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSCCP.cpp110 bool isConstant() const { in isConstant() function in __anonf4e4c9bf0111::LatticeVal
117 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant()
158 if (isConstant()) in getConstantInt()
166 if (isConstant()) in getBlockAddress()
180 if (isConstant()) in toValueLattice()
821 else if (OpSt.isConstant()) { in visitCastInst()
909 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst()
928 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator()
946 if (V1State.isConstant() && V1State.getConstant()->isNullValue()) in visitBinaryOperator()
1014 if (!V1State.isOverdefined() && !V2State.isOverdefined() && !IV.isConstant()) in visitCmpInst()
[all …]
/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 __anon8a523c670111::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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPseudoSourceValue.cpp43 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue
61 bool FixedStackPseudoSourceValue::isConstant( in isConstant() function in FixedStackPseudoSourceValue
87 bool CallEntryPseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in CallEntryPseudoSourceValue
/external/skqp/src/sksl/ir/
DSkSLVariableReference.cpp56 SkASSERT(expr->isConstant()); in copy_constant()
102 fVariable.fInitialValue->isConstant()) { in constantPropagate()
107 (*exprIter->second)->isConstant()) { in constantPropagate()
DSkSLSetting.h25 SkASSERT(fValue->isConstant()); in Setting()
43 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.h83 bool isConstant() const override { in isConstant() function
85 if (!fArguments[i]->isConstant()) { in isConstant()
165 SkASSERT(this->isConstant()); in getMatComponent()
/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/skia/src/sksl/ir/
DSkSLVariableReference.cpp56 SkASSERT(expr->isConstant()); in copy_constant()
103 fVariable.fInitialValue->isConstant()) { in constantPropagate()
108 (*exprIter->second)->isConstant()) { in constantPropagate()
DSkSLSetting.h25 SkASSERT(fValue->isConstant()); in Setting()
43 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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DPseudoSourceValue.h82 virtual bool isConstant(const MachineFrameInfo *) const;
106 bool isConstant(const MachineFrameInfo *MFI) const override;
122 bool isConstant(const MachineFrameInfo *) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DGlobalVariable.h55 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
61 GlobalVariable(Module &M, Type *Ty, bool isConstant,
154 bool isConstant() const { return isConstantGlobal; } in isConstant() function
/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/skia/src/shaders/
DSkColorShader.h28 bool isConstant() const override { return true; } in isConstant() function
60 bool isConstant() const override { return true; } in isConstant() function
/external/skqp/src/shaders/
DSkColorShader.h28 bool isConstant() const override { return true; } in isConstant() function
60 bool isConstant() const override { return true; } in isConstant() function
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp101 bool isConstant() const { return Tag == constant; } in isConstant() function in __anonba15b7e30111::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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DKnownBits.h50 bool isConstant() const { in isConstant() function
58 assert(isConstant() && "Can only get value when all bits are known"); in getConstant()

12345678910>>...12