Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp87 bool isConstant() const { in isConstant() function in __anona95eefe80111::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 __anonccf794380111::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/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/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/llvm/lib/Transforms/IPO/
DConstantMerge.cpp138 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()
173 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/llvm/lib/Target/
DTargetLoweringObjectFile.cpp58 if (GV->isConstant()) in isSuitableForBSS()
153 if (GVar->isConstant()) { in getKindForGlobal()
/external/clang/lib/CodeGen/
DCGBlocks.h158 bool isConstant() const { return !isIndex(); } in isConstant() function
161 assert(isConstant()); in getConstant()
/external/llvm/lib/Target/PowerPC/
DPPCTargetObjectFile.cpp51 if (GVar && GVar->isConstant() && in SelectSectionForGlobal()
/external/clang/lib/StaticAnalyzer/Checkers/
DFixedAddressChecker.cpp50 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
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()
DPointerArithChecker.cpp46 if (!LR || !RV.isConstant()) in checkPreStmt()
/external/chromium_org/third_party/skia/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
/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/dexmaker/src/dx/java/com/android/dx/ssa/
DConstCollector.java179 if (!typeBearer.isConstant()) continue; in getConstsSortedByCountUse()
345 if (!typeBearer.isConstant()) continue; in updateConstUses()
/external/javassist/src/main/javassist/compiler/
DTypeChecker.java329 if (!isConstant(expr, token, left, right)) in atBinExpr()
372 if (isConstant(expr, '+', left, right)) in atPlusExpr()
392 private boolean isConstant(BinExpr expr, int op, ASTree left, in isConstant() method in TypeChecker
590 if (!isConstant(expr, token, oprand)) in atExpr()
597 private boolean isConstant(Expr expr, int op, ASTree oprand) { in isConstant() method in TypeChecker
/external/llvm/lib/Linker/
DLinkModules.cpp699 if (DstGV->isConstant() != SrcGV->isConstant()) in linkAppendingVarProto()
719 new GlobalVariable(*DstGV->getParent(), NewType, SrcGV->isConstant(), in linkAppendingVarProto()
771 if (DGVar->isDeclaration() && SGV->isConstant() && !DGVar->isConstant()) in linkGlobalProto()
794 SGV->isConstant(), SGV->getLinkage(), /*init*/0, in linkGlobalProto()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp104 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), in lowerGlobal()

1234