| /freebsd-12.1/contrib/llvm/lib/Target/ |
| H A D | Target.cpp | 87 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()))); in LLVMIntPtrType() 91 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS)); in LLVMIntPtrTypeForAS() 95 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext() 99 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 840 DL.getIntPtrType(Context)); in emitStrNCmp() 897 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk() 898 DL.getIntPtrType(Context)); in emitMemCpyChk() 917 DL.getIntPtrType(Context)); in emitMemChr() 937 DL.getIntPtrType(Context)); in emitMemCmp() 1143 FWriteName, DL.getIntPtrType(Context), B.getInt8PtrTy(), in emitFWrite() 1144 DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType()); in emitFWrite() 1166 DL.getIntPtrType(Context)); in emitMalloc() 1207 DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType()); in emitFWriteUnlocked() 1265 FReadUnlockedName, DL.getIntPtrType(Context), B.getInt8PtrTy(), in emitFReadUnlocked() [all …]
|
| H A D | VNCoercion.cpp | 65 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 71 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in coerceAvailableValueToLoadTypeHelper() 95 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 325 SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
|
| H A D | SimplifyLibCalls.cpp | 348 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp() 358 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL, in optimizeStrCmp() 364 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrCmp() 416 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL, in optimizeStrNCmp() 423 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrNCmp() 443 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len)); in optimizeStrCpy() 461 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy() 2054 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeSPrintFString() 2147 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeSnPrintFString() 2331 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len - 1), in optimizeFPuts() [all …]
|
| H A D | FunctionComparator.cpp | 400 TyL = DL.getIntPtrType(TyL); in cmpTypes() 402 TyR = DL.getIntPtrType(TyR); in cmpTypes()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 118 DL.getIntPtrType(Context)); in AddPrototypes() 125 DL.getIntPtrType(Context)); in AddPrototypes() 132 DL.getIntPtrType(Context)); in AddPrototypes() 478 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 489 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 501 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
|
| H A D | IndirectBrExpandPass.cpp | 148 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction() 177 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
|
| H A D | LowerEmuTLS.cpp | 115 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
|
| /freebsd-12.1/contrib/llvm/lib/Target/XCore/ |
| H A D | XCoreSelectionDAGInfo.cpp | 30 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSelectionDAGInfo.cpp | 37 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64SelectionDAGInfo.cpp | 36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 469 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const; 473 Type *getIntPtrType(Type *) const;
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/Utils/ |
| H A D | Local.h | 32 Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 766 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in canonicalizeArrayIndicesToPointerSize() 817 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs() 889 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics() 1069 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in splitGEP()
|
| H A D | StraightLineStrengthReduce.cpp | 477 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP() 668 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); in rewriteCandidateWithBasis()
|
| H A D | NaryReassociate.cpp | 423 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in tryReassociateGEPAtIndex()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); in visitPtr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 780 DefineTypeSize("__INTPTR_MAX__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros() 814 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros() 815 DefineFmt("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros() 816 DefineTypeWidth("__INTPTR_WIDTH__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/ |
| H A D | NVPTX.cpp | 128 IntPtrType = HostTarget->getIntPtrType(); in NVPTXTargetInfo()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 487 CE->getOperand(0)->getType() == DL.getIntPtrType(CE->getType())) { in ReadDataFromGlobal() 749 Type *IntPtrTy = DL.getIntPtrType(ResultTy); in CastGEPIndices() 822 Type *IntPtrTy = DL.getIntPtrType(Ptr->getType()); in SymbolicallyEvaluateGEP() 1196 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands() 1208 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands() 1220 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands() 1234 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 76 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in getBoundsCheckCond()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 750 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout 755 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMSelectionDAGInfo.cpp | 77 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86SelectionDAGInfo.cpp | 97 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 242 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; in isEliminableCastPair() 244 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair() 246 DstTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(DstTy) : nullptr; in isEliminableCastPair() 1759 Type *Ty = DL.getIntPtrType(CI.getContext(), AS); in visitIntToPtr() 1809 Type *PtrTy = DL.getIntPtrType(CI.getContext(), AS); in visitPtrToInt()
|