HomeSort by relevance Sort by last modified time
    Searched refs:IntPtrTy (Results 1 - 25 of 35) sorted by null

1 2

  /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();
214 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size),
219 Constant *Scale = ConstantInt::get(IntPtrTy, Size);
220 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
227 if (Op->getType() != IntPtrTy)
228 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
231 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
  /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/ARM/
ARMSelectionDAGInfo.cpp 158 Type *IntPtrTy = TLI.getDataLayout()->getIntPtrType(*DAG.getContext());
160 Entry.Ty = IntPtrTy;
165 Entry.Ty = IntPtrTy;
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 604 Type *IntPtrTy = TD->getIntPtrType(ResultTy->getContext());
612 Ops[i]->getType() != IntPtrTy) {
616 IntPtrTy,
618 Ops[i], IntPtrTy));
658 Type *IntPtrTy = TD->getIntPtrType(Ptr->getContext());
670 assert((CE == 0 || CE->getType() == IntPtrTy) &&
685 unsigned BitWidth = TD->getTypeSizeInBits(IntPtrTy);
746 IntegerType *IntPtrTy = TD->getIntPtrType(Ty->getContext());
751 NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0));
757 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx))
    [all...]
  /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/unittests/IR/
IRBuilderTest.cpp 115 IntegerType *IntPtrTy = Builder.getIntPtrTy(DL);
117 EXPECT_EQ(IntPtrTy, IntegerType::get(getGlobalContext(), IntPtrBitSize));
  /external/llvm/lib/Transforms/Scalar/
CodeGenPrepare.cpp     [all...]
  /external/llvm/lib/Target/X86/
X86SelectionDAGInfo.cpp 57 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
61 Entry.Ty = IntPtrTy;
  /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/clang/lib/CodeGen/
CGExpr.cpp 478 llvm::Value *F = CGM.getIntrinsic(llvm::Intrinsic::objectsize, IntPtrTy);
483 llvm::ConstantInt::get(IntPtrTy, Size));
497 Builder.CreateAnd(Builder.CreatePtrToInt(Address, IntPtrTy),
498 llvm::ConstantInt::get(IntPtrTy, AlignVal - 1));
500 Builder.CreateICmpEQ(Align, llvm::ConstantInt::get(IntPtrTy, 0));
541 llvm::Type *VPtrTy = llvm::PointerType::get(IntPtrTy, 0);
547 Hash = Builder.CreateTrunc(Hash, IntPtrTy);
551 llvm::Type *HashTable = llvm::ArrayType::get(IntPtrTy, CacheSize);
555 llvm::ConstantInt::get(IntPtrTy,
    [all...]
CGObjCGNU.cpp 152 llvm::IntegerType *IntPtrTy;
    [all...]
CGCall.cpp 667 Val = CGF.Builder.CreatePtrToInt(Val, CGF.IntPtrTy, "coerce.val.pi");
672 DestIntTy = CGF.IntPtrTy;
758 llvm::ConstantInt::get(CGF.IntPtrTy, SrcSize),
    [all...]
CGExprConstant.cpp     [all...]
CGStmt.cpp     [all...]
CodeGenModule.h 122 llvm::IntegerType *IntPtrTy;
    [all...]
CGExprAgg.cpp     [all...]
CodeGenFunction.cpp     [all...]
  /external/llvm/include/llvm/IR/
InstrTypes.h 566 /// IntPtrTy argument is used to make accurate determinations for casts
577 Type *IntPtrTy ///< Integer type corresponding to Ptr types
582 Type *IntPtrTy ///< Integer type corresponding to pointer
    [all...]
Instructions.h     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp 157 Type *IntPtrTy = TD->getIntPtrType(AI.getContext());
158 if (AI.getArraySize()->getType() != IntPtrTy) {
160 IntPtrTy, false);
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...]
InstCombineCompares.cpp 570 // Cast to intptrty in case a truncation occurs. If an extension is needed,
574 Type *IntPtrTy = TD.getIntPtrType(VariableIdx->getContext());
575 VariableIdx = IC.Builder->CreateTrunc(VariableIdx, IntPtrTy);
596 Type *IntPtrTy = TD.getIntPtrType(VariableIdx->getContext());
597 if (VariableIdx->getType() != IntPtrTy)
598 VariableIdx = IC.Builder->CreateIntCast(VariableIdx, IntPtrTy,
600 Constant *OffsetVal = ConstantInt::get(IntPtrTy, NewOffs);
    [all...]
  /external/llvm/lib/Analysis/IPA/
InlineCost.cpp 888 Type *IntPtrTy = TD->getIntPtrType(V->getContext());
889 return cast<ConstantInt>(ConstantInt::get(IntPtrTy, Offset));
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreISelLowering.cpp 433 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
437 Entry.Ty = IntPtrTy;
441 TargetLowering::CallLoweringInfo CLI(Chain, IntPtrTy, false, false,
492 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
496 Entry.Ty = IntPtrTy;
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]

Completed in 749 milliseconds

1 2