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

1 2

  /external/llvm/include/llvm/Transforms/Utils/
Local.h 195 Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
196 Value *Result = Constant::getNullValue(IntPtrTy);
203 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
224 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size),
229 Constant *Scale = ConstantInt::get(IntPtrTy, Size);
230 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
237 if (Op->getType() != IntPtrTy)
238 Op = Builder->CreateIntCast(Op, IntPtrTy, true, Op->getName()+".c");
241 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
  /external/llvm/lib/Target/AArch64/
AArch64SelectionDAGInfo.cpp 41 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
45 Entry.Ty = IntPtrTy;
  /external/llvm/lib/Target/ARM/
ARMSelectionDAGInfo.cpp 166 Type *IntPtrTy = TLI.getDataLayout()->getIntPtrType(*DAG.getContext());
168 Entry.Ty = IntPtrTy;
173 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/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/Target/X86/
X86SelectionDAGInfo.cpp 85 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
89 Entry.Ty = IntPtrTy;
  /external/llvm/lib/Transforms/Scalar/
SeparateConstOffsetFromGEP.cpp 676 Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
682 if ((*I)->getType() != IntPtrTy) {
683 *I = CastInst::CreateIntegerCast(*I, IntPtrTy, true, "idxprom", GEP);
729 Type *IntPtrTy = DL.getIntPtrType(Variadic->getType());
748 APInt ElementSize = APInt(IntPtrTy->getIntegerBitWidth(),
    [all...]
StraightLineStrengthReduce.cpp 446 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType()));
448 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true);
494 Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
503 const SCEV *ElementSizeExpr = SE->getSizeOfExpr(IntPtrTy, *GTI);
505 ArrayIdxExpr = SE->getTruncateOrSignExtend(ArrayIdxExpr, IntPtrTy);
611 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType());
627 Bump = Builder.CreateSExtOrTrunc(Bump, IntPtrTy);
LoopIdiomRecognize.cpp     [all...]
  /external/llvm/unittests/IR/
IRBuilderTest.cpp 126 IntegerType *IntPtrTy = Builder.getIntPtrTy(*DL);
128 EXPECT_EQ(IntPtrTy, IntegerType::get(Ctx, IntPtrBitSize));
  /external/llvm/lib/Transforms/IPO/
LowerBitSets.cpp 201 Type *IntPtrTy;
253 IntPtrTy = DL.getIntPtrType(M->getContext(), 0);
350 Constant *Idxs[] = {ConstantInt::get(IntPtrTy, 0),
351 ConstantInt::get(IntPtrTy, ByteArrayOffsets[I])};
429 Constant *GlobalAsInt = ConstantExpr::getPtrToInt(CombinedGlobal, IntPtrTy);
431 GlobalAsInt, ConstantInt::get(IntPtrTy, BSI.ByteOffset));
437 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy);
457 B.CreateLShr(PtrOffset, ConstantInt::get(IntPtrTy, BSI.AlignLog2));
460 ConstantInt::get(IntPtrTy, DL.getPointerSizeInBits(0) - BSI.AlignLog2));
464 Constant *BitSizeConst = ConstantInt::get(IntPtrTy, BSI.BitSize)
    [all...]
GlobalOpt.cpp     [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp 677 Type *IntPtrTy = DL.getIntPtrType(ResultTy);
687 Ops[i]->getType() != IntPtrTy) {
691 IntPtrTy,
693 Ops[i], IntPtrTy));
735 Type *IntPtrTy = DL.getIntPtrType(Ptr->getType());
747 assert((!CE || CE->getType() == IntPtrTy) &&
762 unsigned BitWidth = DL.getTypeSizeInBits(IntPtrTy);
830 NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0));
836 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx));
    [all...]
InstructionSimplify.cpp 608 Type *IntPtrTy = DL.getIntPtrType(V->getType())->getScalarType();
609 APInt Offset = APInt::getNullValue(IntPtrTy->getIntegerBitWidth());
634 Constant *OffsetIntPtr = ConstantInt::get(IntPtrTy, Offset);
    [all...]
ScalarEvolutionExpander.cpp 388 Type *IntPtrTy = DL.getIntPtrType(PTy);
400 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy);
    [all...]
  /external/llvm/lib/Analysis/IPA/
InlineCost.cpp     [all...]
  /external/clang/lib/CodeGen/
CodeGenModule.h 123 llvm::IntegerType *IntPtrTy;
    [all...]
CGObjCGNU.cpp 153 llvm::IntegerType *IntPtrTy;
    [all...]
  /external/llvm/include/llvm/IR/
IRBuilder.h     [all...]
  /external/llvm/lib/IR/
Instructions.cpp 385 BasicBlock *InsertAtEnd, Type *IntPtrTy,
397 ArraySize = ConstantInt::get(IntPtrTy, 1);
398 else if (ArraySize->getType() != IntPtrTy) {
400 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
403 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
411 Constant *Scale = ConstantExpr::getIntegerCast(CO, IntPtrTy,
426 assert(AllocSize->getType() == IntPtrTy && "malloc arg is wrong size");
434 MallocFunc = M->getOrInsertFunction("malloc", BPTy, IntPtrTy, nullptr);
470 Type *IntPtrTy, Type *AllocTy,
474 return createMalloc(InsertBefore, nullptr, IntPtrTy, AllocTy, AllocSize
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreISelLowering.cpp 488 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
492 Entry.Ty = IntPtrTy;
498 .setCallee(CallingConv::C, IntPtrTy,
547 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext());
551 Entry.Ty = IntPtrTy;
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 396 Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
397 unsigned PtrSize = IntPtrTy->getIntegerBitWidth();
399 Idx = Builder->CreateTrunc(Idx, IntPtrTy);
570 Type *IntPtrTy = DL.getIntPtrType(GEP->getOperand(0)->getType());
571 unsigned IntPtrWidth = IntPtrTy->getIntegerBitWidth();
573 // Cast to intptrty in case a truncation occurs. If an extension is needed,
577 VariableIdx = IC.Builder->CreateTrunc(VariableIdx, IntPtrTy);
598 if (VariableIdx->getType() != IntPtrTy)
599 VariableIdx = IC.Builder->CreateIntCast(VariableIdx, IntPtrTy,
601 Constant *OffsetVal = ConstantInt::get(IntPtrTy, NewOffs)
    [all...]
InstructionCombining.cpp     [all...]
  /external/llvm/lib/CodeGen/
CodeGenPrepare.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp     [all...]

Completed in 2794 milliseconds

1 2