Home
last modified time | relevance | path

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

123

/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDBuildLibCalls.cpp50 DL.getIntPtrType(Context), B.getInt8PtrTy(), nullptr); in EmitStrLen()
75 DL.getIntPtrType(Context), B.getInt8PtrTy(), in EmitStrNLen()
76 DL.getIntPtrType(Context), nullptr); in EmitStrNLen()
126 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), nullptr); in EmitStrNCmp()
200 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in EmitMemCpyChk()
201 DL.getIntPtrType(Context), nullptr); in EmitMemCpyChk()
224 B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context), nullptr); in EmitMemChr()
249 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), nullptr); in EmitMemCmp()
445 DL.getIntPtrType(Context), B.getInt8PtrTy(), DL.getIntPtrType(Context), in EmitFWrite()
446 DL.getIntPtrType(Context), File->getType(), nullptr); in EmitFWrite()
[all …]
HDSimplifyLibCalls.cpp128 Type *SizeTTy = DL.getIntPtrType(Context); in checkStringCopyLibFuncSignature()
230 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1), in emitStrLenMemCpy()
297 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len), in optimizeStrChr()
390 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp()
464 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len), 1); in optimizeStrCpy()
488 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy()
490 B.CreateGEP(B.getInt8Ty(), Dst, ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy()
536 B.CreateMemCpy(Dst, Src, ConstantInt::get(DL.getIntPtrType(PT), Len), 1); in optimizeStrNCpy()
1654 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeSPrintFString()
1747 ConstantInt::get(DL.getIntPtrType(CI->getContext()), FormatStr.size()), in optimizeFPrintFString()
[all …]
/NextBSD/contrib/llvm/lib/Target/
HDTarget.cpp75 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext())); in LLVMIntPtrType()
79 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext(), AS)); in LLVMIntPtrTypeForAS()
83 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext()
87 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
/NextBSD/contrib/llvm/lib/CodeGen/
HDIntrinsicLowering.cpp118 DL.getIntPtrType(Context), nullptr); in AddPrototypes()
125 DL.getIntPtrType(Context), nullptr); in AddPrototypes()
132 DL.getIntPtrType(Context), nullptr); in AddPrototypes()
467 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall()
478 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall()
490 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDSeparateConstOffsetFromGEP.cpp681 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in canonicalizeArrayIndicesToPointerSize()
732 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs()
785 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics()
963 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in splitGEP()
HDStraightLineStrengthReduce.cpp469 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP()
651 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); in rewriteCandidateWithBasis()
HDNaryReassociate.cpp465 Type *IntPtrTy = DL->getIntPtrType(TypeOfCandidate); in tryReassociateGEPAtIndex()
HDGVN.cpp883 StoredValTy = DL.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()
889 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in CoerceAvailableValueToLoadType()
908 StoredValTy = DL.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()
1132 DL.getIntPtrType(SrcVal->getType())); in GetStoreValueForLoad()
/NextBSD/contrib/llvm/lib/Target/XCore/
HDXCoreSelectionDAGInfo.cpp33 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/NextBSD/contrib/llvm/include/llvm/IR/
HDDataLayout.h421 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
425 Type *getIntPtrType(Type *) const;
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64SelectionDAGInfo.cpp36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/NextBSD/contrib/llvm/lib/Analysis/
HDConstantFolding.cpp392 CE->getOperand(0)->getType() == DL.getIntPtrType(CE->getType())) { in ReadDataFromGlobal()
677 Type *IntPtrTy = DL.getIntPtrType(ResultTy); in CastGEPIndices()
735 Type *IntPtrTy = DL.getIntPtrType(Ptr->getType()); in SymbolicallyEvaluateGEP()
1118 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1130 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1142 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1156 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDInitPreprocessor.cpp651 DefineTypeSize("__INTPTR_MAX__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
685 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros()
686 DefineFmt("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
687 DefineTypeWidth("__INTPTR_WIDTH__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDPtrUseVisitor.h208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); in visitPtr()
/NextBSD/contrib/llvm/include/llvm/Transforms/Utils/
HDLocal.h196 Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDBoundsChecking.cpp143 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in instrument()
HDSafeStack.cpp231 IntPtrTy = DL->getIntPtrType(M.getContext()); in doInitialization()
/NextBSD/contrib/llvm/lib/IR/
HDDataLayout.cpp694 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout
699 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCasts.cpp246 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; in isEliminableCastPair()
248 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair()
250 DstTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(DstTy) : nullptr; in isEliminableCastPair()
1428 Type *Ty = DL.getIntPtrType(CI.getContext(), AS); in visitIntToPtr()
1478 Type *PtrTy = DL.getIntPtrType(CI.getContext(), AS); in visitPtrToInt()
HDInstructionCombining.cpp909 Type *IntPtrTy = DL.getIntPtrType(PtrTy); in FindElementAtOffset()
1326 Type *IntPtrTy = DL.getIntPtrType(GEP.getPointerOperandType()); in visitGetElementPtrInst()
1664 Type *IdxType = DL.getIntPtrType(GEP.getType()); in visitGetElementPtrInst()
1693 assert(Idx->getType() == DL.getIntPtrType(GEP.getType()) && in visitGetElementPtrInst()
1732 assert(Idx->getType() == DL.getIntPtrType(GEP.getType()) && in visitGetElementPtrInst()
1741 Constant::getNullValue(DL.getIntPtrType(GEP.getType())), in visitGetElementPtrInst()
HDInstCombineLoadStoreAlloca.cpp196 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize()
213 Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMSelectionDAGInfo.cpp80 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86SelectionDAGInfo.cpp81 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDTargetInfo.h218 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType() function
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDMergeFunctions.cpp630 TyL = DL.getIntPtrType(TyL); in cmpTypes()
632 TyR = DL.getIntPtrType(TyR); in cmpTypes()

123