HomeSort by relevance Sort by last modified time
    Searched defs:IntPtrTy (Results 1 - 19 of 19) sorted by null

  /external/llvm/include/llvm/Transforms/Utils/
Local.h 183 Type *IntPtrTy = TD.getIntPtrType(GEP->getContext());
184 Value *Result = Constant::getNullValue(IntPtrTy);
206 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size),
211 Constant *Scale = ConstantInt::get(IntPtrTy, Size);
212 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
219 if (Op->getType() != IntPtrTy)
220 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
223 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
  /external/llvm/lib/Target/ARM/
ARMSelectionDAGInfo.cpp 158 Type *IntPtrTy = TLI.getDataLayout()->getIntPtrType(*DAG.getContext());
160 Entry.Ty = IntPtrTy;
165 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 115 IntegerType *IntPtrTy = Builder.getIntPtrTy(DL);
117 EXPECT_EQ(IntPtrTy, IntegerType::get(getGlobalContext(), 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/InstCombine/
InstCombineLoadStoreAlloca.cpp 157 Type *IntPtrTy = TD->getIntPtrType(AI.getContext());
158 if (AI.getArraySize()->getType() != IntPtrTy) {
160 IntPtrTy, false);
InstCombineCompares.cpp 536 // Cast to intptrty in case a truncation occurs. If an extension is needed,
540 Type *IntPtrTy = TD.getIntPtrType(VariableIdx->getContext());
541 VariableIdx = IC.Builder->CreateTrunc(VariableIdx, IntPtrTy);
562 Type *IntPtrTy = TD.getIntPtrType(VariableIdx->getContext());
563 if (VariableIdx->getType() != IntPtrTy)
564 VariableIdx = IC.Builder->CreateIntCast(VariableIdx, IntPtrTy,
566 Constant *OffsetVal = ConstantInt::get(IntPtrTy, NewOffs);
    [all...]
InstructionCombining.cpp 770 Type *IntPtrTy = TD->getIntPtrType(Ty->getContext());
785 NewIndices.push_back(ConstantInt::get(IntPtrTy, FirstIdx));
807 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize));
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 603 Type *IntPtrTy = TD->getIntPtrType(ResultTy->getContext());
611 Ops[i]->getType() != IntPtrTy) {
615 IntPtrTy,
617 Ops[i], IntPtrTy));
657 Type *IntPtrTy = TD->getIntPtrType(Ptr->getContext());
669 assert((CE == 0 || CE->getType() == IntPtrTy) &&
684 unsigned BitWidth = TD->getTypeSizeInBits(IntPtrTy);
745 IntegerType *IntPtrTy = TD->getIntPtrType(Ty->getContext());
750 NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0));
756 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx))
    [all...]
InstructionSimplify.cpp 704 Type *IntPtrTy = TD->getIntPtrType(V->getContext());
705 Constant *OffsetIntPtr = ConstantInt::get(IntPtrTy, Offset);
    [all...]
  /external/llvm/lib/Analysis/IPA/
InlineCost.cpp 884 Type *IntPtrTy = TD->getIntPtrType(V->getContext());
885 return cast<ConstantInt>(ConstantInt::get(IntPtrTy, Offset));
    [all...]
  /external/llvm/lib/Transforms/Scalar/
CodeGenPrepare.cpp     [all...]
  /external/clang/lib/CodeGen/
CodeGenModule.h 123 llvm::IntegerType *IntPtrTy;
    [all...]
CGObjCGNU.cpp 152 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, NULL, IntPtrTy, AllocTy, AllocSize
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreISelLowering.cpp 481 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
485 Entry.Ty = IntPtrTy;
489 TargetLowering::CallLoweringInfo CLI(Chain, IntPtrTy, false, false,
540 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
544 Entry.Ty = IntPtrTy;
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp     [all...]

Completed in 568 milliseconds