Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp88 bool isConstant() const { in isConstant() function in __anon45c431f50111::LatticeVal
94 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant()
135 if (isConstant()) in getConstantInt()
751 else if (OpSt.isConstant()) // Propagate constant value in visitCastInst()
834 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst()
853 if (V1State.isConstant() && V2State.isConstant()) in visitBinaryOperator()
911 if (V1State.isConstant() && V2State.isConstant()) in visitCmpInst()
933 else if(ValState.isConstant() && IdxState.isConstant()) in visitExtractElementInst()
950 else if(ValState.isConstant() && EltState.isConstant() && in visitInsertElementInst()
951 IdxState.isConstant()) in visitInsertElementInst()
[all …]
/external/llvm/include/llvm/IR/
DGlobalVariable.h57 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
63 GlobalVariable(Module &M, Type *Ty, bool isConstant,
144 bool isConstant() const { return isConstantGlobal; } in isConstant() function
DMDBuilder.h82 bool isConstant = false);
/external/llvm/include/llvm/CodeGen/
DPseudoSourceValue.h51 virtual bool isConstant(const MachineFrameInfo *) const;
99 bool isConstant(const MachineFrameInfo *MFI) const override;
/external/llvm/lib/CodeGen/
DPseudoSourceValue.cpp78 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue
105 bool FixedStackPseudoSourceValue::isConstant(const MachineFrameInfo *MFI) const{ in isConstant() function in FixedStackPseudoSourceValue
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp107 bool isConstant() const { return Tag == constant; } in isConstant() function in __anon695cd6450111::LVILatticeVal
113 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant()
144 assert((!isConstant() || getConstant() == V) && in markConstant()
160 assert((!isConstant() || getConstant() != V) && in markNotConstant()
164 assert(isUndefined() || isConstant()); in markNotConstant()
203 if (isConstant()) { in mergeIn()
204 if (RHS.isConstant()) { in mergeIn()
236 if (RHS.isConstant()) { in mergeIn()
1041 if (Result.isConstant()) in getConstant()
1057 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.cpp143 if (!GV->isConstant() || !GV->hasDefinitiveInitializer() || in runOnModule()
178 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/IR/
DMDBuilder.cpp85 bool isConstant) { in createTBAANode() argument
86 if (isConstant) { in createTBAANode()
/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.cpp45 if (GVar && GVar->isConstant() && in SelectSectionForGlobal()
/external/clang/lib/StaticAnalyzer/Checkers/
DFixedAddressChecker.cpp50 if (!RV.isConstant() || RV.isZeroConstant()) 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/Target/
DTargetLoweringObjectFile.cpp61 if (GV->isConstant()) in isSuitableForBSS()
168 if (GVar->isConstant()) { in getKindForGlobal()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp25 static bool CheapToScalarize(Value *V, bool isConstant) { in CheapToScalarize() argument
27 if (isConstant) return true; in CheapToScalarize()
43 if (I->getOpcode() == Instruction::InsertElement && isConstant && in CheapToScalarize()
50 (CheapToScalarize(BO->getOperand(0), isConstant) || in CheapToScalarize()
51 CheapToScalarize(BO->getOperand(1), isConstant))) in CheapToScalarize()
55 (CheapToScalarize(CI->getOperand(0), isConstant) || in CheapToScalarize()
56 CheapToScalarize(CI->getOperand(1), isConstant))) in CheapToScalarize()
/external/llvm/lib/Target/Mips/
DMipsMachineFunction.h39 bool isConstant(const MachineFrameInfo *) const override;
/external/llvm/test/CodeGen/X86/
Dvbinop-simplify-bug.ll5 ; using the new method 'BuildVectorSDNode::isConstant' when possible.
/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

1234