Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp42 TD->getIntPtrType(Context), in EmitStrLen()
87 TD->getIntPtrType(Context), NULL); in EmitStrNCmp()
148 TD->getIntPtrType(Context), in EmitMemCpyChk()
149 TD->getIntPtrType(Context), NULL); in EmitMemCpyChk()
170 TD->getIntPtrType(Context), in EmitMemChr()
195 TD->getIntPtrType(Context), NULL); in EmitMemCmp()
337 TD->getIntPtrType(Context), in EmitFWrite()
339 TD->getIntPtrType(Context), in EmitFWrite()
340 TD->getIntPtrType(Context), in EmitFWrite()
343 F = M->getOrInsertFunction("fwrite", TD->getIntPtrType(Context), in EmitFWrite()
[all …]
/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/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()
DLowerEmuTLS.cpp113 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DIntrinsicLowering.cpp118 TD.getIntPtrType(Context), (Type *)0); in AddPrototypes()
125 TD.getIntPtrType(Context), (Type *)0); in AddPrototypes()
132 TD.getIntPtrType(Context), (Type *)0); in AddPrototypes()
465 IntegerType *IntPtr = TD.getIntPtrType(Context); in LowerIntrinsicCall()
476 IntegerType *IntPtr = TD.getIntPtrType(Context); in LowerIntrinsicCall()
487 IntegerType *IntPtr = TD.getIntPtrType(Context); 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/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp30 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/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp177 ConstantInt::get(TD->getIntPtrType(*Context), Len + 1), 1); in EmitStrLenMemCpy()
256 ConstantInt::get(TD->getIntPtrType(*Context), Len), in CallOptimizer()
361 ConstantInt::get(TD->getIntPtrType(*Context), in CallOptimizer()
456 ConstantInt::get(TD->getIntPtrType(*Context), Len), in CallOptimizer()
460 ConstantInt::get(TD->getIntPtrType(*Context), Len), 1); in CallOptimizer()
508 ConstantInt::get(TD->getIntPtrType(*Context), Len), 1); in CallOptimizer()
785 FT->getParamType(2) != TD->getIntPtrType(*Context)) in CallOptimizer()
807 FT->getParamType(2) != TD->getIntPtrType(*Context)) in CallOptimizer()
829 FT->getParamType(2) != TD->getIntPtrType(*Context)) in CallOptimizer()
1204 ConstantInt::get(TD->getIntPtrType(*Context), // Copy the in OptimizeFixedFormatString()
[all …]
DLoopIdiomRecognize.cpp501 Type *IntPtr = TD->getIntPtrType(DestPtr->getContext()); in processLoopStridedStore()
607 Type *IntPtr = TD->getIntPtrType(SI->getContext()); in processLoopStoreOfLoopLoad()
/external/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/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/lib/Target/
DTarget.cpp62 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext())); in LLVMIntPtrType()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp720 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in canonicalizeArrayIndicesToPointerSize()
771 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs()
843 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics()
1022 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in splitGEP()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp351 CE->getOperand(0)->getType() == TD.getIntPtrType(CE->getContext())) in ReadDataFromGlobal()
548 Type *IntPtrTy = TD->getIntPtrType(ResultTy->getContext()); in CastGEPIndices()
585 Type *IntPtrTy = TD->getIntPtrType(Ptr->getContext()); in SymbolicallyEvaluateGEP()
671 IntegerType *IntPtrTy = TD->getIntPtrType(Ty->getContext()); in SymbolicallyEvaluateGEP()
916 Type *IntPtrTy = TD->getIntPtrType(CE0->getContext()); in ConstantFoldCompareInstOperands()
938 Type *IntPtrTy = TD->getIntPtrType(CE0->getContext()); in ConstantFoldCompareInstOperands()
/external/llvm/include/llvm/Analysis/
DPtrUseVisitor.h208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); in visitPtr()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp246 TD ? TD->getIntPtrType(CI->getContext()) : 0); in isEliminableCastPair()
251 (!TD || SrcTy != TD->getIntPtrType(CI->getContext()))) || in isEliminableCastPair()
253 (!TD || DstTy != TD->getIntPtrType(CI->getContext())))) in isEliminableCastPair()
1310 TD->getIntPtrType(CI.getContext())); in visitIntToPtr()
1316 TD->getIntPtrType(CI.getContext())); in visitIntToPtr()
1385 TD->getIntPtrType(CI.getContext())); in visitPtrToInt()
1390 TD->getIntPtrType(CI.getContext())); in visitPtrToInt()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetData.h277 IntegerType *getIntPtrType(LLVMContext &C) const;
/external/clang/lib/Frontend/
DInitPreprocessor.cpp693 DefineTypeSize("__INTPTR_MAX__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
727 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros()
728 DefineFmt("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
729 DefineTypeWidth("__INTPTR_WIDTH__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
/external/llvm/bindings/ocaml/target/
Dllvm_target.mli80 See the method [llvm::DataLayout::getIntPtrType]. *)
89 See the method [llvm::DataLayout::getIntPtrType]. *)
/external/llvm/lib/Analysis/
DConstantFolding.cpp398 CE->getOperand(0)->getType() == DL.getIntPtrType(CE->getType())) { in ReadDataFromGlobal()
694 Type *IntPtrTy = DL.getIntPtrType(ResultTy); in CastGEPIndices()
760 Type *IntPtrTy = DL.getIntPtrType(Ptr->getType()); in SymbolicallyEvaluateGEP()
1105 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1117 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1129 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1143 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMSelectionDAGInfo.cpp157 Type *IntPtrTy = TLI.getTargetData()->getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp143 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in instrument()
/external/llvm/lib/IR/
DDataLayout.cpp699 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout
704 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout

12345