Home
last modified time | relevance | path

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

12

/trueos/contrib/llvm/lib/Transforms/Utils/
HDBuildLibCalls.cpp51 TD->getIntPtrType(Context), in EmitStrLen()
80 TD->getIntPtrType(Context), in EmitStrNLen()
82 TD->getIntPtrType(Context), in EmitStrNLen()
140 TD->getIntPtrType(Context), NULL); in EmitStrNCmp()
219 TD->getIntPtrType(Context), in EmitMemCpyChk()
220 TD->getIntPtrType(Context), NULL); in EmitMemCpyChk()
248 TD->getIntPtrType(Context), in EmitMemChr()
279 TD->getIntPtrType(Context), NULL); in EmitMemCmp()
448 TD->getIntPtrType(Context), in EmitFWrite()
450 TD->getIntPtrType(Context), in EmitFWrite()
[all …]
HDSimplifyLibCalls.cpp187 FT->getParamType(2) != TD->getIntPtrType(Context) || in callOptimizer()
188 FT->getParamType(3) != TD->getIntPtrType(Context)) in callOptimizer()
210 FT->getParamType(2) != TD->getIntPtrType(Context) || in callOptimizer()
211 FT->getParamType(3) != TD->getIntPtrType(Context)) in callOptimizer()
233 FT->getParamType(2) != TD->getIntPtrType(Context) || in callOptimizer()
234 FT->getParamType(3) != TD->getIntPtrType(Context)) in callOptimizer()
259 FT->getParamType(2) != TD->getIntPtrType(Context)) in callOptimizer()
284 ConstantInt::get(TD->getIntPtrType(Context), Len), in callOptimizer()
304 FT->getParamType(2) != TD->getIntPtrType(FT->getParamType(0))) in callOptimizer()
330 Value *LenV = ConstantInt::get(TD->getIntPtrType(PT), Len); in callOptimizer()
[all …]
HDSimplifyCFG.cpp317 IntegerType *PtrTy = cast<IntegerType>(TD->getIntPtrType(V->getType())); in GetConstantInt()
482 if (PTII->getType() == TD->getIntPtrType(Ptr->getType())) in isValueEqualityComparison()
933 CV = Builder.CreatePtrToInt(CV, TD->getIntPtrType(CV->getType()), in FoldValueComparisonIntoPredecessors()
2816 TD->getIntPtrType(CompVal->getType()), in SimplifyBranchOnICmpChain()
/trueos/contrib/llvm/lib/Target/
HDTarget.cpp84 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext())); in LLVMIntPtrType()
88 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext(), AS)); in LLVMIntPtrTypeForAS()
92 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext()
96 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
/trueos/contrib/llvm/lib/CodeGen/
HDIntrinsicLowering.cpp118 TD.getIntPtrType(Context), (Type *)0); in AddPrototypes()
125 TD.getIntPtrType(Context), (Type *)0); in AddPrototypes()
132 TD.getIntPtrType(Context), (Type *)0); in AddPrototypes()
466 Type *IntPtr = TD.getIntPtrType(Context); in LowerIntrinsicCall()
477 Type *IntPtr = TD.getIntPtrType(Context); in LowerIntrinsicCall()
489 Type *IntPtr = TD.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
/trueos/contrib/llvm/include/llvm/IR/
HDDataLayout.h361 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
366 Type *getIntPtrType(Type *) const;
/trueos/contrib/llvm/lib/Analysis/
HDConstantFolding.cpp378 CE->getOperand(0)->getType() == TD.getIntPtrType(CE->getType())) { in ReadDataFromGlobal()
623 Type *IntPtrTy = TD->getIntPtrType(ResultTy); in CastGEPIndices()
681 Type *IntPtrTy = TD->getIntPtrType(Ptr->getType()); in SymbolicallyEvaluateGEP()
1067 Type *IntPtrTy = TD->getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1079 Type *IntPtrTy = TD->getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1091 Type *IntPtrTy = TD->getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1105 Type *IntPtrTy = TD->getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
HDLint.cpp655 if (CI->isNoopCast(TD ? TD->getIntPtrType(V->getContext()) : in findValueImpl()
669 TD ? TD->getIntPtrType(V->getContext()) : in findValueImpl()
HDMemoryBuiltins.cpp402 IntegerType *IntTy = DL->getIntPtrType(Context); in ObjectSizeOffsetVisitor()
595 IntTy = DL->getIntPtrType(Context); in ObjectSizeOffsetEvaluator()
/trueos/contrib/llvm/include/llvm/Analysis/
HDPtrUseVisitor.h208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); in visitPtr()
/trueos/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineLoadStoreAlloca.cpp157 Type *IntPtrTy = TD->getIntPtrType(AI.getType()); in visitAllocaInst()
184 ? TD->getIntPtrType(AI.getType()) in visitAllocaInst()
307 ? TD->getIntPtrType(SrcTy) in InstCombineLoadCast()
HDInstructionCombining.cpp779 Type *IntPtrTy = TD->getIntPtrType(PtrTy); in FindElementAtOffset()
1088 Type *IntPtrTy = TD->getIntPtrType(GEP.getPointerOperandType()); in visitGetElementPtrInst()
1263 Type *IdxType = TD->getIntPtrType(GEP.getType()); in visitGetElementPtrInst()
1288 assert(Idx->getType() == TD->getIntPtrType(GEP.getType()) && in visitGetElementPtrInst()
1323 assert(Idx->getType() == TD->getIntPtrType(GEP.getType()) && in visitGetElementPtrInst()
1332 Constant::getNullValue(TD->getIntPtrType(GEP.getType())), in visitGetElementPtrInst()
HDInstCombineCasts.cpp248 TD->getIntPtrType(SrcTy) : 0; in isEliminableCastPair()
250 TD->getIntPtrType(MidTy) : 0; in isEliminableCastPair()
252 TD->getIntPtrType(DstTy) : 0; in isEliminableCastPair()
1364 Type *Ty = TD->getIntPtrType(CI.getContext(), AS); in visitIntToPtr()
1448 Type *PtrTy = TD->getIntPtrType(CI.getContext(), AS); in visitPtrToInt()
/trueos/contrib/llvm/include/llvm/Transforms/Utils/
HDLocal.h190 Type *IntPtrTy = TD.getIntPtrType(GEP->getType());
/trueos/contrib/llvm/lib/Transforms/Instrumentation/
HDBoundsChecking.cpp145 Type *IntTy = TD->getIntPtrType(Ptr->getType()); in instrument()
/trueos/contrib/llvm/lib/IR/
HDDataLayout.cpp610 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout
615 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout
/trueos/contrib/llvm/lib/Target/ARM/
HDARMSelectionDAGInfo.cpp158 Type *IntPtrTy = TLI.getDataLayout()->getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/trueos/contrib/llvm/tools/clang/lib/Frontend/
HDInitPreprocessor.cpp592 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros()
593 DefineTypeWidth("__INTPTR_WIDTH__", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
/trueos/contrib/llvm/lib/Target/X86/
HDX86SelectionDAGInfo.cpp55 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/trueos/contrib/llvm/lib/Transforms/IPO/
HDMergeFunctions.cpp218 if (PTy1 && PTy1->getAddressSpace() == 0) Ty1 = TD->getIntPtrType(Ty1); in isEquivalentType()
219 if (PTy2 && PTy2->getAddressSpace() == 0) Ty2 = TD->getIntPtrType(Ty2); in isEquivalentType()
/trueos/contrib/llvm/tools/clang/include/clang/Basic/
HDTargetInfo.h216 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType() function
/trueos/contrib/llvm/lib/Transforms/Scalar/
HDGVN.cpp877 StoredValTy = TD.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()
883 TypeToCastTo = TD.getIntPtrType(TypeToCastTo); in CoerceAvailableValueToLoadType()
902 StoredValTy = TD.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()
1125 TD.getIntPtrType(SrcVal->getType())); in GetStoreValueForLoad()
HDSROA.cpp1504 return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)), in convertValue()
1509 return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)), in convertValue()
1521 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue()
1526 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue()
/trueos/contrib/llvm/lib/CodeGen/SelectionDAG/
HDFastISel.cpp121 if (Cast->isNoopCast(TD.getIntPtrType(Cast->getContext())) && in hasTrivialKill()
195 getRegForValue(Constant::getNullValue(TD.getIntPtrType(V->getContext()))); in materializeRegForValue()
/trueos/contrib/llvm/lib/Target/XCore/
HDXCoreISelLowering.cpp455 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); in LowerLOAD()
514 Type *IntPtrTy = getDataLayout()->getIntPtrType(*DAG.getContext()); in LowerSTORE()

12