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 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/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 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...]
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 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/lib/Analysis/IPA/
InlineCost.cpp 888 Type *IntPtrTy = TD->getIntPtrType(V->getContext());
889 return cast<ConstantInt>(ConstantInt::get(IntPtrTy, Offset));
    [all...]
  /external/llvm/lib/Transforms/Scalar/
CodeGenPrepare.cpp     [all...]
  /external/clang/lib/CodeGen/
CodeGenModule.h 122 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 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...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp     [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp     [all...]

Completed in 702 milliseconds