Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/lib/Target/
H A 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()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp840 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 DVNCoercion.cpp65 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 DSimplifyLibCalls.cpp348 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 DFunctionComparator.cpp400 TyL = DL.getIntPtrType(TyL); in cmpTypes()
402 TyR = DL.getIntPtrType(TyR); in cmpTypes()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp118 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 DIndirectBrExpandPass.cpp148 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction()
177 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
H A DLowerEmuTLS.cpp115 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreSelectionDAGInfo.cpp30 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonSelectionDAGInfo.cpp37 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDataLayout.h469 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
473 Type *getIntPtrType(Type *) const;
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/Utils/
H A DLocal.h32 Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A 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()
H A DStraightLineStrengthReduce.cpp477 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP()
668 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); in rewriteCandidateWithBasis()
H A DNaryReassociate.cpp423 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in tryReassociateGEPAtIndex()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h226 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); in visitPtr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DInitPreprocessor.cpp780 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 DNVPTX.cpp128 IntPtrType = HostTarget->getIntPtrType(); in NVPTXTargetInfo()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp487 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 DBoundsChecking.cpp76 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in getBoundsCheckCond()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDataLayout.cpp750 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 DARMSelectionDAGInfo.cpp77 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp97 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp242 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()

123