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

  /external/llvm/include/llvm/Transforms/Utils/
Local.h 181 Type *IntPtrTy = TD.getIntPtrType(GEP->getContext());
182 Value *Result = Constant::getNullValue(IntPtrTy);
204 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size),
209 Constant *Scale = ConstantInt::get(IntPtrTy, Size);
210 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
217 if (Op->getType() != IntPtrTy)
218 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
221 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
  /external/llvm/lib/Target/ARM/
ARMSelectionDAGInfo.cpp 158 Type *IntPtrTy = TLI.getTargetData()->getIntPtrType(*DAG.getContext());
160 Entry.Ty = IntPtrTy;
165 Entry.Ty = IntPtrTy;
  /external/llvm/lib/Target/X86/
X86SelectionDAGInfo.cpp 57 Type *IntPtrTy = getTargetData()->getIntPtrType(*DAG.getContext());
61 Entry.Ty = IntPtrTy;
  /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 176 Type *IntPtrTy = TD->getIntPtrType(AI.getContext());
177 if (AI.getArraySize()->getType() != IntPtrTy) {
179 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 749 Type *IntPtrTy = TD->getIntPtrType(Ty->getContext());
764 NewIndices.push_back(ConstantInt::get(IntPtrTy, FirstIdx));
786 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize));
820 Type *IntPtrTy = TD->getIntPtrType(GEP.getContext());
834 *I = Constant::getNullValue(IntPtrTy);
839 if (IndexTy != IntPtrTy && !IndexTy->isVectorTy()) {
843 *I = Builder->CreateIntCast(*I, IntPtrTy, true);
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 578 Type *IntPtrTy = TD->getIntPtrType(ResultTy->getContext());
586 Ops[i]->getType() != IntPtrTy) {
590 IntPtrTy,
592 Ops[i], IntPtrTy));
632 Type *IntPtrTy = TD->getIntPtrType(Ptr->getContext());
644 assert((CE == 0 || CE->getType() == IntPtrTy) &&
659 unsigned BitWidth = TD->getTypeSizeInBits(IntPtrTy);
720 IntegerType *IntPtrTy = TD->getIntPtrType(Ty->getContext());
725 NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0));
731 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx))
    [all...]
InlineCost.cpp 768 Type *IntPtrTy = TD->getIntPtrType(V->getContext());
769 return cast<ConstantInt>(ConstantInt::get(IntPtrTy, Offset));
    [all...]
InstructionSimplify.cpp 728 Type *IntPtrTy = TD.getIntPtrType(V->getContext());
729 return ConstantInt::get(IntPtrTy, Offset);
    [all...]
  /external/clang/lib/CodeGen/
CodeGenModule.h 116 llvm::IntegerType *IntPtrTy;
    [all...]
CGObjCGNU.cpp 154 llvm::IntegerType *IntPtrTy;
    [all...]
  /external/llvm/lib/Transforms/Scalar/
CodeGenPrepare.cpp     [all...]
  /external/llvm/lib/Target/XCore/
XCoreISelLowering.cpp 480 Type *IntPtrTy = getTargetData()->getIntPtrType(*DAG.getContext());
484 Entry.Ty = IntPtrTy;
488 TargetLowering::CallLoweringInfo CLI(Chain, IntPtrTy, false, false,
539 Type *IntPtrTy = getTargetData()->getIntPtrType(*DAG.getContext());
543 Entry.Ty = IntPtrTy;
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp     [all...]
  /external/llvm/lib/VMCore/
Instructions.cpp 360 BasicBlock *InsertAtEnd, Type *IntPtrTy,
372 ArraySize = ConstantInt::get(IntPtrTy, 1);
373 else if (ArraySize->getType() != IntPtrTy) {
375 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
378 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
386 Constant *Scale = ConstantExpr::getIntegerCast(CO, IntPtrTy,
401 assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size");
409 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy, NULL);
445 Type *IntPtrTy, Type *AllocTy,
449 return createMalloc(InsertBefore, NULL, IntPtrTy, AllocTy, AllocSize
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp     [all...]

Completed in 810 milliseconds