Home
last modified time | relevance | path

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

1234567

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSCCP.cpp89 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/
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/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/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/lib/Transforms/Scalar/
DSCCP.cpp91 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/
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/skia/src/sksl/ir/
DSkSLConstructor.h59 bool isConstant() const override { in isConstant() function
61 if (!fArguments[i]->isConstant()) { in isConstant()
DSkSLBoolLiteral.h28 bool isConstant() const override { in isConstant() function
DSkSLFloatLiteral.h28 bool isConstant() const override { in isConstant() function
DSkSLIntLiteral.h30 bool isConstant() const override { in isConstant() function
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp101 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/
DGrPipelineAnalysis.h44 bool isConstant(GrColor* color) const { in isConstant() function
77 if (input.isConstant(&color)) { in GrColorFragmentProcessorAnalysis()
DGrProcessorSet.cpp91 fValidInputColor = colorInput.isConstant(&fInputColor); in internalInit()
120 if (outputColor.isConstant(&fKnownOutputColor)) { in internalInit()
/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/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/skia/src/core/
DSkColorShader.h28 bool isConstant() const override { return true; } in isConstant() function
85 bool isConstant() const override { return true; } in isConstant() function
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp121 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/
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/doclava/src/com/google/doclava/
DFieldInfo.java55 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/
DConstantMerge.cpp137 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()
166 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp103 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in mergeConstants()
137 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in mergeConstants()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetLoweringObjectFile.cpp59 if (GV->isConstant()) in isSuitableForBSS()
158 if (GVar->isConstant()) { in getKindForGlobal()
/external/clang/lib/CodeGen/
DCGBlocks.h168 bool isConstant() const { return !isIndex(); } in isConstant() function
188 assert(isConstant()); in getConstant()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp567 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()

1234567