/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 190 Type *IntPtrTy = TD.getIntPtrType(GEP->getType()); 191 Value *Result = Constant::getNullValue(IntPtrTy); 198 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth(); 219 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), 224 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 225 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/); 232 if (Op->getType() != IntPtrTy) 233 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c"); 236 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
|
/external/llvm/lib/Target/AArch64/ |
AArch64SelectionDAGInfo.cpp | 43 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); 47 Entry.Ty = IntPtrTy;
|
/external/llvm/lib/Target/ARM/ |
ARMSelectionDAGInfo.cpp | 165 Type *IntPtrTy = TLI.getDataLayout()->getIntPtrType(*DAG.getContext()); 167 Entry.Ty = IntPtrTy; 172 Entry.Ty = IntPtrTy;
|
/external/llvm/include/llvm/Analysis/ |
PtrUseVisitor.h | 208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); 210 Offset = APInt(IntPtrTy->getBitWidth(), 0);
|
/external/llvm/lib/Target/X86/ |
X86SelectionDAGInfo.cpp | 57 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); 61 Entry.Ty = IntPtrTy;
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 124 IntegerType *IntPtrTy = Builder.getIntPtrTy(DL); 126 EXPECT_EQ(IntPtrTy, IntegerType::get(Ctx, IntPtrBitSize));
|
/external/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/llvm/lib/Transforms/Scalar/ |
SeparateConstOffsetFromGEP.cpp | 601 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); 607 if ((*I)->getType() != IntPtrTy) { 608 *I = CastInst::CreateIntegerCast(*I, IntPtrTy, true, "idxprom", GEP); 776 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); [all...] |
LoopIdiomRecognize.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 169 Type *IntPtrTy = DL->getIntPtrType(AI.getType()); 170 if (AI.getArraySize()->getType() != IntPtrTy) { 172 IntPtrTy, false); [all...] |
InstructionCombining.cpp | [all...] |
InstCombineCompares.cpp | 391 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); 392 unsigned PtrSize = IntPtrTy->getIntegerBitWidth(); 394 Idx = Builder->CreateTrunc(Idx, IntPtrTy); 567 Type *IntPtrTy = DL.getIntPtrType(GEP->getOperand(0)->getType()); 568 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth(); 570 // Cast to intptrty in case a truncation occurs. If an extension is needed, 574 VariableIdx = IC.Builder->CreateTrunc(VariableIdx, IntPtrTy); 595 if (VariableIdx->getType() != IntPtrTy) 596 VariableIdx = IC.Builder->CreateIntCast(VariableIdx, IntPtrTy, 598 Constant *OffsetVal = ConstantInt::get(IntPtrTy, NewOffs) [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 678 Type *IntPtrTy = TD->getIntPtrType(ResultTy); 687 Ops[i]->getType() != IntPtrTy) { 691 IntPtrTy, 693 Ops[i], IntPtrTy)); 736 Type *IntPtrTy = TD->getIntPtrType(Ptr->getType()); 748 assert((!CE || CE->getType() == IntPtrTy) && 763 unsigned BitWidth = TD->getTypeSizeInBits(IntPtrTy); 832 NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0)); 838 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx)); [all...] |
ScalarEvolutionExpander.cpp | 405 Type *IntPtrTy = SE.DL 419 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy); [all...] |
/external/llvm/lib/Analysis/IPA/ |
InlineCost.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CodeGenModule.h | 120 llvm::IntegerType *IntPtrTy; [all...] |
CGObjCGNU.cpp | 153 llvm::IntegerType *IntPtrTy; [all...] |
/external/llvm/lib/IR/ |
Instructions.cpp | 372 BasicBlock *InsertAtEnd, Type *IntPtrTy, 384 ArraySize = ConstantInt::get(IntPtrTy, 1); 385 else if (ArraySize->getType() != IntPtrTy) { 387 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, 390 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, 398 Constant *Scale = ConstantExpr::getIntegerCast(CO, IntPtrTy, 413 assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size"); 421 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy, NULL); 457 Type *IntPtrTy, Type *AllocTy, 461 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreISelLowering.cpp | 482 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); 486 Entry.Ty = IntPtrTy; 492 .setCallee(CallingConv::C, IntPtrTy, 539 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); 543 Entry.Ty = IntPtrTy; [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
CodeGenPrepare.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.cpp | [all...] |