Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1242 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 DVNCoercion.cpp89 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 DSimplifyLibCalls.cpp240 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 DRelLookupTableConverter.cpp110 Type *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext()); in createRelLookupTable()
H A DFunctionComparator.cpp419 TyL = DL.getIntPtrType(TyL); in cmpTypes()
421 TyR = DL.getIntPtrType(TyR); in cmpTypes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp161 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction()
200 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
H A 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()
H A DLowerEmuTLS.cpp117 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreSelectionDAGInfo.cpp29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonSelectionDAGInfo.cpp36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDataLayout.h550 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 DSeparateConstOffsetFromGEP.cpp798 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 DStraightLineStrengthReduce.cpp488 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP()
679 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); in rewriteCandidateWithBasis()
H A DNaryReassociate.cpp447 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in tryReassociateGEPAtIndex()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/target/
H A Dllvm_target.mli79 See the method [llvm::DataLayout::getIntPtrType]. *)
88 See the method [llvm::DataLayout::getIntPtrType]. *)
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp880 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 DNVPTX.cpp135 IntPtrType = HostTarget->getIntPtrType(); in NVPTXTargetInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp76 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in getBoundsCheckCond()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DDataLayout.cpp838 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 DARMSelectionDAGInfo.cpp91 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp538 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 DInstCombineCasts.cpp259 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 DX86SelectionDAGInfo.cpp79 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp781 LLT OffsetLLTy = getLLTForType(*DL.getIntPtrType(RetPtrTy), DL); in insertSRetLoads()
812 getLLTForType(*DL.getIntPtrType(RetTy->getPointerTo(AS)), DL); in insertSRetStores()

123