/external/clang/lib/CodeGen/ |
CGLoopInfo.cpp | 35 ConstantInt::get(Type::getInt32Ty(Ctx), 43 ConstantInt::get(Type::getInt32Ty(Ctx), 51 ConstantInt::get(Type::getInt1Ty(Ctx),
|
CGStmtOpenMP.cpp | 61 llvm::ConstantInt *Val = cast<llvm::ConstantInt>(Len.getScalarVal());
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DebugLocEntry.h | 37 Value(const MDNode *Var, const ConstantInt *CIP) 56 const ConstantInt *CIP; 85 const ConstantInt *getConstantInt() const { return Constant.CIP; }
|
/external/proguard/src/proguard/gui/splash/ |
SplashPanel.java | 219 new ConstantInt(150)), 223 new ConstantInt(200), 224 new ConstantInt(300)))));
|
TextSprite.java | 48 this(new VariableString[] { text }, new ConstantInt(0), x, y);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 44 isa<ConstantInt>(I->getOperand(2))) 77 if (!isa<ConstantInt>(III->getOperand(2))) 79 unsigned IIElt = cast<ConstantInt>(III->getOperand(2))->getZExtValue(); 188 if (ConstantInt *IdxC = dyn_cast<ConstantInt>(EI.getOperand(1))) { 238 CheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) { 261 if (ConstantInt *Elt = dyn_cast<ConstantInt>(EI.getOperand(1))) { 277 ConstantInt::get(Int32Ty, 342 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)) [all...] |
InstCombineAndOrXor.cpp | 33 if (isa<ConstantInt>(V)) 53 if (ConstantInt *C = dyn_cast<ConstantInt>(V)) 54 return ConstantInt::get(C->getType(), ~C->getValue()); 114 if (!isordered) return ConstantInt::getTrue(LHS->getContext()); 124 ConstantInt *OpRHS, 125 ConstantInt *AndRHS, 150 ConstantInt *TogetherCI = dyn_cast<ConstantInt>(Together); 204 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShlMask) [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 215 uint64_t OpValue = cast<ConstantInt>(OpC)->getZExtValue(); 219 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), 224 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 236 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
|
/external/llvm/lib/Target/ARM/ |
Thumb2RegisterInfo.cpp | 45 const Constant *C = ConstantInt::get(
|
/external/llvm/lib/Transforms/Utils/ |
CtorUtils.cpp | 42 CSVals[0] = ConstantInt::get(Int32Ty, 65535); 45 CSVals[0] = ConstantInt::get(Int32Ty, 0x7fffffff); 126 ConstantInt *CI = cast<ConstantInt>(CS->getOperand(0));
|
LowerExpectIntrinsic.cpp | 71 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); 125 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
|
SimplifyLibCalls.cpp | 158 if (ConstantInt *SizeCI = 159 dyn_cast<ConstantInt>(CI->getArgOperand(SizeCIOp))) { 169 if (ConstantInt *Arg = dyn_cast<ConstantInt>( 288 ConstantInt::get(DL->getIntPtrType(Context), Len), 335 Value *LenV = ConstantInt::get(DL->getIntPtrType(PT), Len); 337 ConstantInt::get(DL->getIntPtrType(PT), 423 ConstantInt::get(DL->getIntPtrType(*Context), Len + 1), 1); 446 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2)) [all...] |
SimplifyCFG.cpp | 79 ConstantInt *Value; 82 ValueEqualityComparisonCase(ConstantInt *Value, BasicBlock *Dest) 180 !isa<ConstantInt>(PN->getIncomingValueForBlock(SI2BB))) 314 /// GetConstantInt - Extract ConstantInt from value, looking through IntToPtr 316 static ConstantInt *GetConstantInt(Value *V, const DataLayout *DL) { 318 ConstantInt *CI = dyn_cast<ConstantInt>(V); 323 // ConstantInt if possible. 328 return ConstantInt::get(PtrTy, 0); 333 if (ConstantInt *CI = dyn_cast<ConstantInt>(CE->getOperand(0))) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDILPeepholeOptimizer.cpp | 245 Value *Val = (CV != NULL) ? ConstantInt::get(aType, 1) 246 : ConstantInt::get(aType, 0); 339 Value *Val = (CV != NULL) ? ConstantInt::get(aType, 1) 340 : ConstantInt::get(aType, 0); 349 ConstantInt *CV = dyn_cast<ConstantInt>(CI->getOperand(0)); 353 Val = ConstantInt::get(aType, 356 Val = ConstantInt::get(aType, 0); 542 ? dyn_cast<ConstantInt>(LHSMask)->getZExtValue() : 0); 544 ? dyn_cast<ConstantInt>(RHSMask)->getZExtValue() : 0) [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILPeepholeOptimizer.cpp | 245 Value *Val = (CV != NULL) ? ConstantInt::get(aType, 1) 246 : ConstantInt::get(aType, 0); 339 Value *Val = (CV != NULL) ? ConstantInt::get(aType, 1) 340 : ConstantInt::get(aType, 0); 349 ConstantInt *CV = dyn_cast<ConstantInt>(CI->getOperand(0)); 353 Val = ConstantInt::get(aType, 356 Val = ConstantInt::get(aType, 0); 542 ? dyn_cast<ConstantInt>(LHSMask)->getZExtValue() : 0); 544 ? dyn_cast<ConstantInt>(RHSMask)->getZExtValue() : 0) [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
BoundsChecking.cpp | 101 ConstantInt *C = dyn_cast_or_null<ConstantInt>(Cmp); 142 ConstantInt *SizeCI = dyn_cast<ConstantInt>(Size); 145 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); 159 Value *Cmp1 = Builder->CreateICmpSLT(Offset, ConstantInt::get(IntTy, 0));
|
/external/llvm/lib/Analysis/ |
LazyValueInfo.cpp | 139 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) 155 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) 217 if (ConstantInt *Res = dyn_cast<ConstantInt>( 243 if (ConstantInt *Res = dyn_cast<ConstantInt>( 547 if (BO && !isa<ConstantInt>(BO->getOperand(1))) { 571 ConstantInt *Len = dyn_cast<ConstantInt>(MI->getLength()) [all...] |
ConstantFolding.cpp | 96 return ConstantInt::get(IT, Result); 106 if (isa<ConstantFP>(C) || isa<ConstantInt>(C)) { 178 Constant *Src =dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); 187 ConstantInt::get(Src->getType(), ShiftAmt)); 204 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(i)); 213 ConstantInt::get(Src->getType(), ShiftAmt)); 281 if (ConstantInt *CI = dyn_cast<ConstantInt>(C)) { 471 return ConstantInt::get(IntType->getContext(), ResultVal); 577 Constant *Res = ConstantInt::get(CE->getContext(), StrVal) [all...] |
TypeBasedAliasAnalysis.cpp | 170 ConstantInt *CI = dyn_cast<ConstantInt>(Node->getOperand(2)); 197 return cast<ConstantInt>(Node->getOperand(2))->getZExtValue(); 205 ConstantInt *CI = dyn_cast<ConstantInt>(Node->getOperand(3)); 237 cast<ConstantInt>(Node->getOperand(2))->getZExtValue(); 249 uint64_t Cur = cast<ConstantInt>(Node->getOperand(Idx + 1))-> 261 uint64_t Cur = cast<ConstantInt>(Node->getOperand(TheIdx + 1))-> 611 Value *Ops[3] = { Ret, Ret, ConstantInt::get(Int64, 0) };
|
ValueTracking.cpp | 53 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(Op0)) { 200 ConstantInt *Lower = cast<ConstantInt>(Ranges.getOperand(2*i + 0)); 201 ConstantInt *Upper = cast<ConstantInt>(Ranges.getOperand(2*i + 1)); 244 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 477 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SeparateConstOffsetFromGEP.cpp | 352 if (ConstantInt *ConstLHS = dyn_cast<ConstantInt>(LHS)) { 356 if (ConstantInt *ConstRHS = dyn_cast<ConstantInt>(RHS)) { 409 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 445 // ConstantExpr::getCast emits a ConstantInt if C is a ConstantInt. 475 assert(isa<ConstantInt>(U)); 476 // If U is a ConstantInt, applyExts will return a ConstantInt as well [all...] |
/external/llvm/lib/IR/ |
Module.cpp | 269 if (Flag->getNumOperands() >= 3 && isa<ConstantInt>(Flag->getOperand(0)) && 273 ConstantInt *Behavior = cast<ConstantInt>(Flag->getOperand(0)); 315 ConstantInt::get(Int32Ty, Behavior), MDString::get(Context, Key), Val 322 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); 327 assert(isa<ConstantInt>(Node->getOperand(0)) && 454 return cast<ConstantInt>(Val)->getZExtValue();
|
Constants.cpp | 77 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this)) 90 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this)) 112 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this)) 136 return ConstantInt::get(Ty, 0); 172 Constant *C = ConstantInt::get(Ty->getContext(), V); 187 return ConstantInt::get(Ty->getContext(), 229 if (ConstantInt *CI = dyn_cast<ConstantInt>(Elt) [all...] |
/external/llvm/lib/CodeGen/ |
ShadowStackGC.cpp | 221 ConstantInt::get(Int32Ty, Roots.size(), false), 222 ConstantInt::get(Int32Ty, NumMeta, false), 253 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), 254 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0) 352 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), 353 ConstantInt::get(Type::getInt32Ty(Context), Idx), 354 ConstantInt::get(Type::getInt32Ty(Context), Idx2) }; 365 Value *Indices[] = { ConstantInt::get(Type::getInt32Ty(Context), 0), 366 ConstantInt::get(Type::getInt32Ty(Context), Idx) };
|
/external/llvm/include/llvm/IR/ |
IntrinsicInst.h | 102 return cast<ConstantInt>( 128 ConstantInt *getAlignmentCst() const { 129 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(3))); 136 ConstantInt *getVolatileCst() const { 137 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(4)));
|