/external/llvm/lib/Target/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
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()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 850 return emitLibCall(LibFunc_strlen, DL.getIntPtrType(Context), in emitStrLen() 873 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp() 918 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk() 919 DL.getIntPtrType(Context)); in emitMemCpyChk() 934 {B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context)}, in emitMemChr() 943 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitMemCmp() 952 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitBCmp() 1257 FWriteName, DL.getIntPtrType(Context), B.getInt8PtrTy(), in emitFWrite() 1258 DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType()); in emitFWrite() 1264 ConstantInt::get(DL.getIntPtrType(Context), 1), File}); in emitFWrite() [all …]
|
D | VNCoercion.cpp | 75 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 81 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in coerceAvailableValueToLoadTypeHelper() 105 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper() 363 SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
|
D | SimplifyLibCalls.cpp | 293 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1)); in emitStrLenMemCpy() 359 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len), in optimizeStrChr() 444 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp() 454 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL, in optimizeStrCmp() 460 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrCmp() 522 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL, in optimizeStrNCmp() 529 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrNCmp() 566 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len)); in optimizeStrCpy() 587 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy() 589 ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy() [all …]
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 118 DL.getIntPtrType(Context), nullptr); in AddPrototypes() 125 DL.getIntPtrType(Context), nullptr); in AddPrototypes() 132 DL.getIntPtrType(Context), nullptr); in AddPrototypes() 474 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 485 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 497 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | IndirectBrExpandPass.cpp | 148 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction() 175 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
|
D | IntrinsicLowering.cpp | 339 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 350 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 362 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 724 Constant *StrLen = M->getOrInsertFunction("strlen", DL.getIntPtrType(Context), in emitStrLen() 761 DL.getIntPtrType(Context), nullptr); in emitStrNCmp() 818 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk() 819 DL.getIntPtrType(Context), nullptr); in emitMemCpyChk() 837 DL.getIntPtrType(Context), nullptr); in emitMemChr() 856 DL.getIntPtrType(Context), nullptr); in emitMemCmp() 995 FWriteName, DL.getIntPtrType(Context), B.getInt8PtrTy(), in emitFWrite() 996 DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType(), in emitFWrite() 1002 ConstantInt::get(DL.getIntPtrType(Context), 1), File}); in emitFWrite()
|
D | SimplifyLibCalls.cpp | 144 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1), in emitStrLenMemCpy() 196 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len), in optimizeStrChr() 274 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp() 334 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len), 1); in optimizeStrCpy() 352 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy() 354 ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy() 395 B.CreateMemCpy(Dst, Src, ConstantInt::get(DL.getIntPtrType(PT), Len), 1); in optimizeStrNCpy() 788 IntegerType *PtrType = DL.getIntPtrType((B.GetInsertBlock()->getContext())); in emitCalloc() 830 IntegerType *SizeType = DL.getIntPtrType(B.GetInsertBlock()->getContext()); in foldMallocMemset() 1676 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeSPrintFString() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/ |
D | IndirectBrExpandPass.cpp | 158 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction() 197 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
|
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()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/ |
D | VNCoercion.cpp | 98 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadType() 104 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in coerceAvailableValueToLoadType() 127 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadType() 420 Builder.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreSelectionDAGInfo.cpp | 30 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/XCore/ |
D | XCoreSelectionDAGInfo.cpp | 29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreSelectionDAGInfo.cpp | 29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonSelectionDAGInfo.cpp | 37 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonSelectionDAGInfo.cpp | 36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64SelectionDAGInfo.cpp | 36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/ |
D | HexagonSelectionDAGInfo.cpp | 36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/external/llvm/include/llvm/IR/ |
D | DataLayout.h | 418 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const; 422 Type *getIntPtrType(Type *) const;
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/ |
D | RISCVGatherScatterLowering.cpp | 380 Type *VecIntPtrTy = DL->getIntPtrType(GEP->getType()); in determineBaseAndStride() 398 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride() 438 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DataLayout.h | 525 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const; 529 Type *getIntPtrType(Type *) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
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()
|