/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ |
H A D | Target.cpp | 86 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()))); in LLVMIntPtrType() 90 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS)); in LLVMIntPtrTypeForAS() 94 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext() 98 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 1242 return emitLibCall(LibFunc_strlen, DL.getIntPtrType(Context), in emitStrLen() 1265 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp() 1310 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk() 1311 DL.getIntPtrType(Context)); in emitMemCpyChk() 1326 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitMemPCpy() 1335 {B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context)}, in emitMemChr() 1344 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitMemCmp() 1353 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitBCmp() 1623 FWriteName, DL.getIntPtrType(Context), B.getInt8PtrTy(), in emitFWrite() 1624 DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType()); in emitFWrite() [all …]
|
H A D | VNCoercion.cpp | 89 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 95 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in coerceAvailableValueToLoadTypeHelper() 118 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 444 SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
|
H A D | SimplifyLibCalls.cpp | 240 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1)); in emitStrLenMemCpy() 306 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len), in optimizeStrChr() 391 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp() 401 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL, in optimizeStrCmp() 407 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrCmp() 469 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL, in optimizeStrNCmp() 476 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrNCmp() 513 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len)); in optimizeStrCpy() 536 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy() 538 ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy() [all …]
|
H A D | RelLookupTableConverter.cpp | 110 Type *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext()); in createRelLookupTable()
|
H A D | FunctionComparator.cpp | 419 TyL = DL.getIntPtrType(TyL); in cmpTypes() 421 TyR = DL.getIntPtrType(TyR); in cmpTypes()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | IndirectBrExpandPass.cpp | 161 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction() 200 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
|
H A D | IntrinsicLowering.cpp | 337 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 348 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 360 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
|
H A D | LowerEmuTLS.cpp | 117 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/ |
H A D | XCoreSelectionDAGInfo.cpp | 29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonSelectionDAGInfo.cpp | 36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | DataLayout.h | 550 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const; 554 Type *getIntPtrType(Type *) const;
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | SeparateConstOffsetFromGEP.cpp | 798 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in canonicalizeArrayIndicesToPointerSize() 849 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs() 921 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics() 1100 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in splitGEP()
|
H A D | StraightLineStrengthReduce.cpp | 488 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP() 679 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); in rewriteCandidateWithBasis()
|
H A D | NaryReassociate.cpp | 447 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in tryReassociateGEPAtIndex()
|
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/target/ |
H A D | llvm_target.mli | 79 See the method [llvm::DataLayout::getIntPtrType]. *) 88 See the method [llvm::DataLayout::getIntPtrType]. *)
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 880 DefineTypeSize("__INTPTR_MAX__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros() 914 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros() 915 DefineFmt("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros() 916 DefineTypeWidth("__INTPTR_WIDTH__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/Targets/ |
H A D | NVPTX.cpp | 135 IntPtrType = HostTarget->getIntPtrType(); in NVPTXTargetInfo()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | BoundsChecking.cpp | 76 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in getBoundsCheckCond()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | DataLayout.cpp | 838 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout 843 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.cpp | 91 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 538 CE->getOperand(0)->getType() == DL.getIntPtrType(CE->getType())) { in ReadDataFromGlobal() 584 Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy; in FoldReinterpretLoadFromConstPtr() 1245 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands() 1257 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands() 1269 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands() 1283 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 259 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; in isEliminableCastPair() 261 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair() 263 DstTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(DstTy) : nullptr; in isEliminableCastPair() 1947 DL.getIntPtrType(CI.getContext(), AS)); in visitIntToPtr() 1993 SrcTy->getWithNewType(DL.getIntPtrType(CI.getContext(), AS)); in visitPtrToInt()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86SelectionDAGInfo.cpp | 79 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | CallLowering.cpp | 781 LLT OffsetLLTy = getLLTForType(*DL.getIntPtrType(RetPtrTy), DL); in insertSRetLoads() 812 getLLTForType(*DL.getIntPtrType(RetTy->getPointerTo(AS)), DL); in insertSRetStores()
|