Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp87 bool isConstant() const { in isConstant() function in __anon129b48840111::LatticeVal
93 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant()
134 if (isConstant()) in getConstantInt()
749 else if (OpSt.isConstant()) // Propagate constant value in visitCastInst()
832 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst()
851 if (V1State.isConstant() && V2State.isConstant()) in visitBinaryOperator()
909 if (V1State.isConstant() && V2State.isConstant()) in visitCmpInst()
931 else if(ValState.isConstant() && IdxState.isConstant()) in visitExtractElementInst()
948 else if(ValState.isConstant() && EltState.isConstant() && in visitInsertElementInst()
949 IdxState.isConstant()) in visitInsertElementInst()
[all …]
/external/llvm/include/llvm/IR/
DGlobalVariable.h68 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
74 GlobalVariable(Module &M, Type *Ty, bool isConstant,
157 bool isConstant() const { return isConstantGlobal; } in isConstant() function
DMDBuilder.h127 bool isConstant = false) {
128 if (isConstant) {
/external/llvm/include/llvm/CodeGen/
DPseudoSourceValue.h40 virtual bool isConstant(const MachineFrameInfo *) const;
96 virtual bool isConstant(const MachineFrameInfo *MFI) const;
/external/llvm/lib/CodeGen/
DPseudoSourceValue.cpp82 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue
109 bool FixedStackPseudoSourceValue::isConstant(const MachineFrameInfo *MFI) const{ in isConstant() function in FixedStackPseudoSourceValue
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp106 bool isConstant() const { return Tag == constant; } in isConstant() function in __anon3633ecd40111::LVILatticeVal
112 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant()
143 assert((!isConstant() || getConstant() == V) && in markConstant()
159 assert((!isConstant() || getConstant() != V) && in markNotConstant()
163 assert(isUndefined() || isConstant()); in markNotConstant()
202 if (isConstant()) { in mergeIn()
203 if (RHS.isConstant()) { in mergeIn()
235 if (RHS.isConstant()) { in mergeIn()
1039 if (Result.isConstant()) in getConstant()
1055 if (Result.isConstant()) in getConstantOnEdge()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DPlainInsn.java109 if (!lastType.isConstant()) { in withSourceLiteral()
112 if (szSources == 2 && firstType.isConstant()) { in withSourceLiteral()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp23 static bool CheapToScalarize(Value *V, bool isConstant) { in CheapToScalarize() argument
25 if (isConstant) return true; in CheapToScalarize()
39 if (I->getOpcode() == Instruction::InsertElement && isConstant && in CheapToScalarize()
46 (CheapToScalarize(BO->getOperand(0), isConstant) || in CheapToScalarize()
47 CheapToScalarize(BO->getOperand(1), isConstant))) in CheapToScalarize()
51 (CheapToScalarize(CI->getOperand(0), isConstant) || in CheapToScalarize()
52 CheapToScalarize(CI->getOperand(1), isConstant))) in CheapToScalarize()
/external/webkit/Source/JavaScriptCore/dfg/
DDFGNonSpeculativeJIT.h137 if (node.isConstant()) {
145 if (node.isConstant())
162 if (node.isConstant()) {
DDFGNode.h217 bool isConstant() in isConstant() function
224 ASSERT(isConstant()); in constantNumber()
DDFGJITCompiler.cpp48 if (node.isConstant()) { in fillNumericToDouble()
70 if (node.isConstant()) { in fillInt32ToInteger()
88 if (node.isConstant()) { in fillToJS()
DDFGJITCompiler.h251 bool isConstant(NodeIndex nodeIndex) in isConstant() function
253 return graph()[nodeIndex].isConstant(); in isConstant()
/external/clang/lib/StaticAnalyzer/Core/
DSVals.cpp166 bool SVal::isConstant() const { in isConstant() function in SVal
170 bool SVal::isConstant(int I) const { in isConstant() function in SVal
179 return isConstant(0); in isZeroConstant()
/external/webkit/Source/JavaScriptCore/bytecompiler/
DBytecodeGenerator.h432 RegisterID* addVar(const Identifier& ident, bool isConstant) in addVar() argument
435 addVar(ident, isConstant, local); in addVar()
440 bool addVar(const Identifier&, bool isConstant, RegisterID*&);
450 RegisterID* addGlobalVar(const Identifier& ident, bool isConstant) in addGlobalVar() argument
453 addGlobalVar(ident, isConstant, local); in addGlobalVar()
457 bool addGlobalVar(const Identifier&, bool isConstant, RegisterID*&);
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DTypeBearer.java73 public boolean isConstant(); in isConstant() method
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DTypedConstant.java46 public final boolean isConstant() { in isConstant() method in TypedConstant
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp137 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()
172 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()
/external/doclava/src/com/google/doclava/
DFieldInfo.java54 return isConstant(isFinal, isStatic, constantValue) ? "constant" : "field"; in chooseKind()
67 static boolean isConstant(boolean isFinal, boolean isStatic, Object constantValue) in isConstant() method in FieldInfo
80 public boolean isConstant() { in isConstant() method in FieldInfo
81 return isConstant(isFinal(), isStatic(), mConstantValue); in isConstant()
/external/clang/lib/CodeGen/
DCGBlocks.h158 bool isConstant() const { return !isIndex(); } in isConstant() function
161 assert(isConstant()); in getConstant()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp58 if (GV->isConstant()) in isSuitableForBSS()
153 if (GVar->isConstant()) { in getKindForGlobal()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdempotentOperationChecker.cpp241 if (!RHSVal.isConstant(1) || RHSContainsFalsePositive) in checkPreStmt()
257 if (!LHSVal.isConstant(1) || LHSContainsFalsePositive) in checkPreStmt()
285 if (!RHSVal.isConstant(0) || RHSContainsFalsePositive) in checkPreStmt()
317 if (!LHSVal.isConstant(0) || LHSContainsFalsePositive) in checkPreStmt()
DFixedAddressChecker.cpp50 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
DPointerArithChecker.cpp46 if (!LR || !RV.isConstant()) in checkPreStmt()
/external/skia/legacy/src/animator/
DSkOperand2.h51 bool isConstant() const { return fIsConstant == kConstant; } in isConstant() function
/external/skia/src/animator/
DSkOperand2.h51 bool isConstant() const { return fIsConstant == kConstant; } in isConstant() function

1234