| /NextBSD/contrib/llvm/lib/Transforms/Utils/ |
| HD | BuildLibCalls.cpp | 50 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 …]
|
| HD | SimplifyLibCalls.cpp | 128 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/ |
| HD | Target.cpp | 75 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/ |
| HD | IntrinsicLowering.cpp | 118 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/ |
| HD | SeparateConstOffsetFromGEP.cpp | 681 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()
|
| HD | StraightLineStrengthReduce.cpp | 469 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP() 651 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); in rewriteCandidateWithBasis()
|
| HD | NaryReassociate.cpp | 465 Type *IntPtrTy = DL->getIntPtrType(TypeOfCandidate); in tryReassociateGEPAtIndex()
|
| HD | GVN.cpp | 883 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/ |
| HD | XCoreSelectionDAGInfo.cpp | 33 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | DataLayout.h | 421 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const; 425 Type *getIntPtrType(Type *) const;
|
| /NextBSD/contrib/llvm/lib/Target/AArch64/ |
| HD | AArch64SelectionDAGInfo.cpp | 36 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
|
| /NextBSD/contrib/llvm/lib/Analysis/ |
| HD | ConstantFolding.cpp | 392 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/ |
| HD | InitPreprocessor.cpp | 651 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/ |
| HD | PtrUseVisitor.h | 208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); in visitPtr()
|
| /NextBSD/contrib/llvm/include/llvm/Transforms/Utils/ |
| HD | Local.h | 196 Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
|
| /NextBSD/contrib/llvm/lib/Transforms/Instrumentation/ |
| HD | BoundsChecking.cpp | 143 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in instrument()
|
| HD | SafeStack.cpp | 231 IntPtrTy = DL->getIntPtrType(M.getContext()); in doInitialization()
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | DataLayout.cpp | 694 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/ |
| HD | InstCombineCasts.cpp | 246 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()
|
| HD | InstructionCombining.cpp | 909 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()
|
| HD | InstCombineLoadStoreAlloca.cpp | 196 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/ |
| HD | ARMSelectionDAGInfo.cpp | 80 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
|
| /NextBSD/contrib/llvm/lib/Target/X86/ |
| HD | X86SelectionDAGInfo.cpp | 81 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Basic/ |
| HD | TargetInfo.h | 218 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType() function
|
| /NextBSD/contrib/llvm/lib/Transforms/IPO/ |
| HD | MergeFunctions.cpp | 630 TyL = DL.getIntPtrType(TyL); in cmpTypes() 632 TyR = DL.getIntPtrType(TyR); in cmpTypes()
|