Home
last modified time | relevance | path

Searched refs:getIntPtrType (Results 1 – 25 of 51) sorted by relevance

123

/minix3/external/bsd/llvm/dist/llvm/lib/Target/
H A DTarget.cpp78 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext())); in LLVMIntPtrType()
82 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext(), AS)); in LLVMIntPtrTypeForAS()
86 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext()
90 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp51 TD->getIntPtrType(Context), in EmitStrLen()
79 TD->getIntPtrType(Context), in EmitStrNLen()
81 TD->getIntPtrType(Context), in EmitStrNLen()
137 TD->getIntPtrType(Context), nullptr); in EmitStrNCmp()
216 TD->getIntPtrType(Context), in EmitMemCpyChk()
217 TD->getIntPtrType(Context), nullptr); in EmitMemCpyChk()
244 TD->getIntPtrType(Context), in EmitMemChr()
274 TD->getIntPtrType(Context), nullptr); in EmitMemCmp()
471 TD->getIntPtrType(Context), in EmitFWrite()
473 TD->getIntPtrType(Context), in EmitFWrite()
[all …]
H A DSimplifyLibCalls.cpp128 Type *SizeTTy = DL ? DL->getIntPtrType(Context) : nullptr; in checkStringCopyLibFuncSignature()
235 ConstantInt::get(DL->getIntPtrType(Src->getContext()), Len + 1), 1); in emitStrLenMemCpy()
310 ConstantInt::get(DL->getIntPtrType(CI->getContext()), Len), B, DL, TLI); in optimizeStrChr()
406 ConstantInt::get(DL->getIntPtrType(CI->getContext()), in optimizeStrCmp()
484 ConstantInt::get(DL->getIntPtrType(CI->getContext()), Len), 1); in optimizeStrCpy()
512 Value *LenV = ConstantInt::get(DL->getIntPtrType(PT), Len); in optimizeStpCpy()
514 B.CreateGEP(Dst, ConstantInt::get(DL->getIntPtrType(PT), Len - 1)); in optimizeStpCpy()
564 B.CreateMemCpy(Dst, Src, ConstantInt::get(DL->getIntPtrType(PT), Len), 1); in optimizeStrNCpy()
1610 ConstantInt::get(DL->getIntPtrType(CI->getContext()), in optimizeSPrintFString()
1711 ConstantInt::get(DL->getIntPtrType(CI->getContext()), FormatStr.size()), in optimizeFPrintFString()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp118 DL.getIntPtrType(Context), nullptr); in AddPrototypes()
125 DL.getIntPtrType(Context), nullptr); in AddPrototypes()
132 DL.getIntPtrType(Context), nullptr); in AddPrototypes()
467 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall()
478 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall()
490 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreSelectionDAGInfo.cpp39 Entry.Ty = TLI.getDataLayout()->getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp42 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DDataLayout.h397 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
401 Type *getIntPtrType(Type *) const;
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp691 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in canonicalizeArrayIndicesToPointerSize()
742 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs()
793 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics()
960 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in splitGEP()
H A DGVN.cpp884 StoredValTy = DL.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()
890 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in CoerceAvailableValueToLoadType()
909 StoredValTy = DL.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()
1132 DL.getIntPtrType(SrcVal->getType())); in GetStoreValueForLoad()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); in visitPtr()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp646 DefineTypeSize("__INTPTR_MAX__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
680 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros()
681 DefineFmt("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
682 DefineTypeWidth("__INTPTR_WIDTH__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp393 CE->getOperand(0)->getType() == TD.getIntPtrType(CE->getType())) { in ReadDataFromGlobal()
686 Type *IntPtrTy = TD->getIntPtrType(ResultTy); in CastGEPIndices()
743 Type *IntPtrTy = TD->getIntPtrType(Ptr->getType()); in SymbolicallyEvaluateGEP()
1128 Type *IntPtrTy = TD->getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1140 Type *IntPtrTy = TD->getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1152 Type *IntPtrTy = TD->getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1166 Type *IntPtrTy = TD->getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
H A DLint.cpp676 DL ? DL->getIntPtrType(V->getType()) : in findValueImpl()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DLocal.h200 Type *IntPtrTy = TD.getIntPtrType(GEP->getType());
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp144 Type *IntTy = DL->getIntPtrType(Ptr->getType()); in instrument()
/minix3/external/bsd/llvm/dist/llvm/bindings/ocaml/target/
H A Dllvm_target.mli86 See the method [llvm::DataLayout::getIntPtrType]. *)
95 See the method [llvm::DataLayout::getIntPtrType]. *)
/minix3/external/bsd/llvm/dist/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp165 Type *IntPtrTy = TLI.getDataLayout()->getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp170 Type *IntPtrTy = DL->getIntPtrType(AI.getType()); in visitAllocaInst()
197 ? DL->getIntPtrType(AI.getType()) in visitAllocaInst()
H A DInstCombineCasts.cpp251 DL->getIntPtrType(SrcTy) : nullptr; in isEliminableCastPair()
253 DL->getIntPtrType(MidTy) : nullptr; in isEliminableCastPair()
255 DL->getIntPtrType(DstTy) : nullptr; in isEliminableCastPair()
1392 Type *Ty = DL->getIntPtrType(CI.getContext(), AS); in visitIntToPtr()
1481 Type *PtrTy = DL->getIntPtrType(CI.getContext(), AS); in visitPtrToInt()
H A DInstructionCombining.cpp914 Type *IntPtrTy = DL->getIntPtrType(PtrTy); in FindElementAtOffset()
1331 Type *IntPtrTy = DL->getIntPtrType(GEP.getPointerOperandType()); in visitGetElementPtrInst()
1644 Type *IdxType = DL->getIntPtrType(GEP.getType()); in visitGetElementPtrInst()
1671 assert(Idx->getType() == DL->getIntPtrType(GEP.getType()) && in visitGetElementPtrInst()
1708 assert(Idx->getType() == DL->getIntPtrType(GEP.getType()) && in visitGetElementPtrInst()
1717 Constant::getNullValue(DL->getIntPtrType(GEP.getType())), in visitGetElementPtrInst()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DDataLayout.cpp726 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout
731 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout
/minix3/external/bsd/llvm/dist/llvm/unittests/IR/
H A DInstructionsTest.cpp460 IntegerType *Int16SizePtr = DL.getIntPtrType(C, 1); in TEST()
461 IntegerType *Int64SizePtr = DL.getIntPtrType(C, 2); in TEST()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp84 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DTargetInfo.h215 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType() function
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp624 if (PTyL && PTyL->getAddressSpace() == 0) TyL = DL->getIntPtrType(TyL); in cmpTypes()
625 if (PTyR && PTyR->getAddressSpace() == 0) TyR = DL->getIntPtrType(TyR); in cmpTypes()

123