Home
last modified time | relevance | path

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

1234567

/external/llvm/lib/Target/
DTarget.cpp87 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/
DTarget.cpp86 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/
DTarget.cpp86 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/
DBuildLibCalls.cpp850 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 …]
DVNCoercion.cpp75 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()
DSimplifyLibCalls.cpp293 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/
DIntrinsicLowering.cpp118 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/
DIndirectBrExpandPass.cpp148 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction()
175 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
DIntrinsicLowering.cpp339 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/
DBuildLibCalls.cpp724 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()
DSimplifyLibCalls.cpp144 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/
DIndirectBrExpandPass.cpp158 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction()
197 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
DIntrinsicLowering.cpp337 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/
DVNCoercion.cpp98 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/
DXCoreSelectionDAGInfo.cpp30 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/external/llvm/lib/Target/Hexagon/
DHexagonSelectionDAGInfo.cpp37 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSelectionDAGInfo.cpp36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/external/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/
DHexagonSelectionDAGInfo.cpp36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/external/llvm/include/llvm/IR/
DDataLayout.h418 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
422 Type *getIntPtrType(Type *) const;
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/
DRISCVGatherScatterLowering.cpp380 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/
DDataLayout.h525 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
529 Type *getIntPtrType(Type *) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp766 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()

1234567