| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 570 LLVM_ABI IntegerType *getIndexType(LLVMContext &C, 574 return getIndexType(C, AddressSpace); in getAddressType() 580 LLVM_ABI Type *getIndexType(Type *PtrTy) const; 582 Type *getAddressType(Type *PtrTy) const { return getIndexType(PtrTy); } in getAddressType()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Coroutines/ |
| H A D | CoroShape.h | 178 IntegerType *getIndexType() const { in getIndexType() function 184 return ConstantInt::get(getIndexType(), Value); in getIndex()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeTypeArray.cpp | 46 return Session.getSymbolCache().findSymbolByTypeIndex(Record.getIndexType()); in getArrayIndexTypeId()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Local.cpp | 25 Type *IntIdxTy = DL.getIndexType(GEP->getType()); in emitGEPOffset()
|
| H A D | MemoryBuiltins.cpp | 1194 IntTy = cast<IntegerType>(DL.getIndexType(V->getType())); in compute() 1290 DL.getIndexType(I.getContext(), DL.getAllocaAddrSpace())); in visitAllocaInst()
|
| H A D | ConstantFolding.cpp | 848 Type *IntIdxTy = DL.getIndexType(ResultTy); in CastGEPIndices() 897 Type *IntIdxTy = DL.getIndexType(Ptr->getType()); in SymbolicallyEvaluateGEP() 1512 Type *IntIdxTy = DL.getIndexType(Ptr->getType()); in ConstantFoldCastOperand()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 230 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(I.getType())); in visitPtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 839 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in canonicalizeArrayIndicesToIndexSize() 895 Type *PtrIndexTy = DL->getIndexType(Variadic->getType()); in lowerToSingleIndexGEPs() 959 assert(IntPtrTy == DL->getIndexType(Variadic->getType()) && in lowerToArithmetics() 1213 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in splitGEP()
|
| H A D | NaryReassociate.cpp | 450 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in tryReassociateGEPAtIndex()
|
| H A D | StraightLineStrengthReduce.cpp | 485 IntegerType *PtrIdxTy = cast<IntegerType>(DL->getIndexType(I->getType())); in allocateCandidatesAndFindBasisForGEP()
|
| H A D | ConstantHoisting.cpp | 413 IntegerType *OffsetTy = DL->getIndexType(*Ctx, GVPtrTy->getAddressSpace()); in collectConstantCandidates()
|
| H A D | LoopIdiomRecognize.cpp | 741 Type *IntIdxTy = DL->getIndexType(StorePtr->getType()); in processLoopStores() 1037 Type *IntIdxTy = DL->getIndexType(DestPtr->getType()); in processLoopStridedStore()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 2926 assert(getIndexType() == IndexType && "Value truncated"); 2930 ISD::MemIndexType getIndexType() const { 2936 bool isIndexSigned() const { return isIndexTypeSigned(getIndexType()); } 3010 assert(getIndexType() == IndexType && "Value truncated"); 3014 ISD::MemIndexType getIndexType() const { 3020 bool isIndexSigned() const { return isIndexTypeSigned(getIndexType()); } 3098 ISD::MemIndexType getIndexType() const {
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 78 Type *IndexTy = DL.getIndexType(Ptr->getType()); in getBoundsCheckCond()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 877 IntegerType *DataLayout::getIndexType(LLVMContext &C, in getIndexType() function in DataLayout 882 Type *DataLayout::getIndexType(Type *Ty) const { in getIndexType() function in DataLayout
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 217 Type *PtrIdxTy = IC.getDataLayout().getIndexType(AI.getType()); in simplifyAllocaArraySize() 741 auto *IdxType = DL.getIndexType(Addr->getType()); in unpackLoadToAggregate() 1298 auto *IdxType = DL.getIndexType(Addr->getType()); in unpackStoreToAggregate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerArgs.cpp | 428 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(A.getType())); in visitArgPtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 1006 LLT OffsetLLTy = getLLTForType(*DL.getIndexType(RetPtrTy), DL); in insertSRetLoads() 1036 LLT OffsetLLTy = getLLTForType(*DL.getIndexType(RetTy->getContext(), AS), DL); in insertSRetStores()
|
| H A D | IRTranslator.cpp | 1388 Type *OffsetIRTy = DL->getIndexType(Ptr->getType()); in translateLoad() 1435 Type *OffsetIRTy = DL->getIndexType(SI.getPointerOperandType()); in translateStore() 1592 Type *OffsetIRTy = DL->getIndexType(PtrIRTy); in translateGetElementPtr() 1621 OffsetIRTy = DL->getIndexType(PtrIRTy); in translateGetElementPtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeDumpVisitor.cpp | 288 printTypeIndex("IndexType", AT.getIndexType()); in visitKnownRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 2452 ISD::MemIndexType IndexTy = MGT->getIndexType(); in SplitVecRes_Gather() 2469 MMO, VPGT->getIndexType()); in SplitVecRes_Gather() 2473 MMO, VPGT->getIndexType()); in SplitVecRes_Gather() 4220 MSC->getIndexType(), MSC->isTruncatingStore()); in SplitVecOp_Scatter() 4227 MMO, MSC->getIndexType(), in SplitVecOp_Scatter() 4237 VPSC->getIndexType()); in SplitVecOp_Scatter() 4244 VPSC->getIndexType()); in SplitVecOp_Scatter() 4587 ISD::MemIndexType IndexType = HG->getIndexType(); in SplitVecOp_VECTOR_HISTOGRAM() 6299 N->getIndexType(), N->getExtensionType()); in WidenVecRes_MGATHER() 6322 dl, Ops, N->getMemOperand(), N->getIndexType()); in WidenVecRes_VP_GATHER() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 406 TypeIndex getIndexType() const { return IndexType; } in getIndexType() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 1212 Type *IndexTy = DL.getIndexType(Call->getType()); in foldMemChr()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewVisitor.cpp | 1817 printTypeIndex("IndexType", AT.getIndexType(), StreamTPI); in visitKnownRecord() 1843 Subrange->setType(getElement(StreamTPI, AR.getIndexType())); in visitKnownRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6324 Type *ScalarIndexTy = DL->getIndexType(Ops[0]->getType()->getScalarType()); in optimizeGatherScatterInst() 6364 Type *ScalarIndexTy = DL->getIndexType(V->getType()->getScalarType()); in optimizeGatherScatterInst() 6675 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in splitLargeGEPOffsets() 6743 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in splitLargeGEPOffsets()
|