Home
last modified time | relevance | path

Searched refs:getIndexType (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h570 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 DCoroShape.h178 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 DNativeTypeArray.cpp46 return Session.getSymbolCache().findSymbolByTypeIndex(Record.getIndexType()); in getArrayIndexTypeId()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp25 Type *IntIdxTy = DL.getIndexType(GEP->getType()); in emitGEPOffset()
H A DMemoryBuiltins.cpp1194 IntTy = cast<IntegerType>(DL.getIndexType(V->getType())); in compute()
1290 DL.getIndexType(I.getContext(), DL.getAllocaAddrSpace())); in visitAllocaInst()
H A DConstantFolding.cpp848 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 DPtrUseVisitor.h230 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(I.getType())); in visitPtr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp839 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 DNaryReassociate.cpp450 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in tryReassociateGEPAtIndex()
H A DStraightLineStrengthReduce.cpp485 IntegerType *PtrIdxTy = cast<IntegerType>(DL->getIndexType(I->getType())); in allocateCandidatesAndFindBasisForGEP()
H A DConstantHoisting.cpp413 IntegerType *OffsetTy = DL->getIndexType(*Ctx, GVPtrTy->getAddressSpace()); in collectConstantCandidates()
H A DLoopIdiomRecognize.cpp741 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 DSelectionDAGNodes.h2926 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 DBoundsChecking.cpp78 Type *IndexTy = DL.getIndexType(Ptr->getType()); in getBoundsCheckCond()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp877 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 DInstCombineLoadStoreAlloca.cpp217 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 DNVPTXLowerArgs.cpp428 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(A.getType())); in visitArgPtr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp1006 LLT OffsetLLTy = getLLTForType(*DL.getIndexType(RetPtrTy), DL); in insertSRetLoads()
1036 LLT OffsetLLTy = getLLTForType(*DL.getIndexType(RetTy->getContext(), AS), DL); in insertSRetStores()
H A DIRTranslator.cpp1388 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 DTypeDumpVisitor.cpp288 printTypeIndex("IndexType", AT.getIndexType()); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp2452 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 DTypeRecord.h406 TypeIndex getIndexType() const { return IndexType; } in getIndexType() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp1212 Type *IndexTy = DL.getIndexType(Call->getType()); in foldMemChr()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp1817 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 DCodeGenPrepare.cpp6324 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()

12