/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Analysis/ |
PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 228 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Analysis/ |
PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 228 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Analysis/ |
PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 228 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Analysis/ |
PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 228 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
PtrUseVisitor.h | 211 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 213 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Analysis/ |
PtrUseVisitor.h | 211 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 213 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Analysis/ |
PtrUseVisitor.h | 211 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 213 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Analysis/ |
PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 228 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Analysis/ |
PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 228 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Analysis/ |
PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 228 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Analysis/ |
PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 228 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/external/llvm/examples/BrainF/ |
BrainF.cpp | 95 Type* IntPtrTy = IntegerType::getInt32Ty(C); 98 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy); 99 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem,
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 125 IntegerType *IntPtrTy = Builder.getIntPtrTy(*DL); 127 EXPECT_EQ(IntPtrTy, IntegerType::get(Ctx, IntPtrBitSize));
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
BrainF.cpp | 83 Type* IntPtrTy = IntegerType::getInt32Ty(C); 86 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy); 87 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 404 Type *IntPtrTy = TD.getIntPtrType(GEP->getContext()); 405 Value *Result = Constant::getNullValue(IntPtrTy); 427 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), 432 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 434 ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/); 441 if (Op->getType() != IntPtrTy) 442 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c"); 445 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
|
InstCombineLoadStoreAlloca.cpp | 29 Type *IntPtrTy = TD->getIntPtrType(AI.getContext()); 30 if (AI.getArraySize()->getType() != IntPtrTy) { 32 IntPtrTy, false);
|
/external/llvm/lib/Transforms/Scalar/ |
StraightLineStrengthReduce.cpp | 441 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); 443 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true); 633 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); 649 Bump = Builder.CreateSExtOrTrunc(Bump, IntPtrTy);
|
SeparateConstOffsetFromGEP.cpp | 720 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); 726 if ((*I)->getType() != IntPtrTy) { 727 *I = CastInst::CreateIntegerCast(*I, IntPtrTy, true, "idxprom", GEP); [all...] |
LoopIdiomRecognize.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
SafeStack.cpp | 113 Type *IntPtrTy; 203 IntPtrTy = DL->getIntPtrType(M.getContext()); 571 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), 572 ConstantInt::get(IntPtrTy, ~uint64_t(FrameAlignment - 1))), 681 if (ArraySize->getType() != IntPtrTy) 682 ArraySize = IRB.CreateIntCast(ArraySize, IntPtrTy, false); 686 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); 688 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); 698 IRB.CreateAnd(SP, ConstantInt::get(IntPtrTy, ~uint64_t(Align - 1))), [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ConstantFolding.cpp | 548 Type *IntPtrTy = TD->getIntPtrType(ResultTy->getContext()); 556 Ops[i]->getType() != IntPtrTy) { 560 IntPtrTy, 562 Ops[i], IntPtrTy)); 585 Type *IntPtrTy = TD->getIntPtrType(Ptr->getContext()); 597 assert((CE == 0 || CE->getType() == IntPtrTy) && 612 unsigned BitWidth = TD->getTypeSizeInBits(IntPtrTy); 671 IntegerType *IntPtrTy = TD->getIntPtrType(Ty->getContext()); 676 NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0)); 682 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx)) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
CodeGenPrepare.cpp | 827 Type *IntPtrTy = 840 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); 841 if (V->getType() != IntPtrTy) 842 V = Builder.CreateIntCast(V, IntPtrTy, /*isSigned=*/true, "sunkaddr"); 849 if (V->getType() == IntPtrTy) { 852 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); 853 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() < 855 V = Builder.CreateTrunc(V, IntPtrTy, "sunkaddr"); 857 V = Builder.CreateSExt(V, IntPtrTy, "sunkaddr"); 860 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale) [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 694 Type *IntPtrTy = DL.getIntPtrType(ResultTy); 702 Ops[i]->getType() != IntPtrTy) { 706 IntPtrTy, 708 Ops[i], IntPtrTy)); 760 Type *IntPtrTy = DL.getIntPtrType(Ptr->getType()); 771 assert((!CE || CE->getType() == IntPtrTy) && 786 unsigned BitWidth = DL.getTypeSizeInBits(IntPtrTy); 862 NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0)); 871 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx)); [all...] |
InlineCost.cpp | [all...] |
/external/llvm/lib/Transforms/IPO/ |
LowerTypeTests.cpp | 223 IntegerType *IntPtrTy; 354 Constant *Idxs[] = {ConstantInt::get(IntPtrTy, 0), 355 ConstantInt::get(IntPtrTy, ByteArrayOffsets[I])}; 434 CombinedGlobalIntAddr, ConstantInt::get(IntPtrTy, BSI.ByteOffset)); 440 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); 460 B.CreateLShr(PtrOffset, ConstantInt::get(IntPtrTy, BSI.AlignLog2)); 463 ConstantInt::get(IntPtrTy, DL.getPointerSizeInBits(0) - BSI.AlignLog2)); 467 Constant *BitSizeConst = ConstantInt::get(IntPtrTy, BSI.BitSize); 562 ConstantExpr::getPtrToInt(CombinedGlobalAddr, IntPtrTy); 638 Constant *DestInt = ConstantExpr::getPtrToInt(Dest, IntPtrTy); [all...] |