Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h175 IntegerType *getIndexType() const { in getIndexType() function
181 return ConstantInt::get(getIndexType(), Value); in getIndex()
H A DCoroSplit.cpp1492 auto *Index = Builder.CreateLoad(Shape.getIndexType(), GepIndex, "index"); in createResumeEntryBlock()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeArray.cpp47 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.cpp1058 IntTy = cast<IntegerType>(DL.getIndexType(V->getType())); in compute()
1148 DL.getIndexType(I.getContext(), DL.getAllocaAddrSpace())); in visitAllocaInst()
H A DConstantFolding.cpp833 Type *IntIdxTy = DL.getIndexType(ResultTy); in CastGEPIndices()
882 Type *IntIdxTy = DL.getIndexType(Ptr->getType()); in SymbolicallyEvaluateGEP()
1418 Type *IntIdxTy = DL.getIndexType(Ptr->getType()); in ConstantFoldCastOperand()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h576 IntegerType *getIndexType(LLVMContext &C, unsigned AddressSpace) const;
581 Type *getIndexType(Type *PtrTy) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp809 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in canonicalizeArrayIndicesToIndexSize()
865 Type *PtrIndexTy = DL->getIndexType(Variadic->getType()); in lowerToSingleIndexGEPs()
929 assert(IntPtrTy == DL->getIndexType(Variadic->getType()) && in lowerToArithmetics()
1152 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in splitGEP()
H A DNaryReassociate.cpp452 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in tryReassociateGEPAtIndex()
H A DStraightLineStrengthReduce.cpp481 IntegerType *PtrIdxTy = cast<IntegerType>(DL->getIndexType(I->getType())); in allocateCandidatesAndFindBasisForGEP()
H A DConstantHoisting.cpp418 IntegerType *OffsetTy = DL->getIndexType(*Ctx, GVPtrTy->getAddressSpace()); in collectConstantCandidates()
H A DLoopIdiomRecognize.cpp717 Type *IntIdxTy = DL->getIndexType(StorePtr->getType()); in processLoopStores()
1030 Type *IntIdxTy = DL->getIndexType(DestPtr->getType()); in processLoopStridedStore()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h217 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(I.getType())); in visitPtr()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2814 assert(getIndexType() == IndexType && "Value truncated");
2818 ISD::MemIndexType getIndexType() const {
2824 bool isIndexSigned() const { return isIndexTypeSigned(getIndexType()); }
2898 assert(getIndexType() == IndexType && "Value truncated");
2902 ISD::MemIndexType getIndexType() const {
2908 bool isIndexSigned() const { return isIndexTypeSigned(getIndexType()); }
2988 ISD::MemIndexType getIndexType() const {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp75 Type *IndexTy = DL.getIndexType(Ptr->getType()); in getBoundsCheckCond()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp905 IntegerType *DataLayout::getIndexType(LLVMContext &C, in getIndexType() function in DataLayout
910 Type *DataLayout::getIndexType(Type *Ty) const { in getIndexType() function in DataLayout
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp1007 LLT OffsetLLTy = getLLTForType(*DL.getIndexType(RetPtrTy), DL); in insertSRetLoads()
1037 LLT OffsetLLTy = getLLTForType(*DL.getIndexType(RetTy->getPointerTo(AS)), DL); in insertSRetStores()
H A DIRTranslator.cpp1374 Type *OffsetIRTy = DL->getIndexType(Ptr->getType()); in translateLoad()
1421 Type *OffsetIRTy = DL->getIndexType(SI.getPointerOperandType()); in translateStore()
1580 Type *OffsetIRTy = DL->getIndexType(PtrIRTy); in translateGetElementPtr()
1609 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.cpp2377 ISD::MemIndexType IndexTy = MGT->getIndexType(); in SplitVecRes_Gather()
2394 MMO, VPGT->getIndexType()); in SplitVecRes_Gather()
2398 MMO, VPGT->getIndexType()); in SplitVecRes_Gather()
3910 MSC->getIndexType(), MSC->isTruncatingStore()); in SplitVecOp_Scatter()
3917 MMO, MSC->getIndexType(), in SplitVecOp_Scatter()
3927 VPSC->getIndexType()); in SplitVecOp_Scatter()
3934 VPSC->getIndexType()); in SplitVecOp_STORE()
5855 N->getIndexType(), N->getExtensionType()); in WidenVecRes_MGATHER()
5878 dl, Ops, N->getMemOperand(), N->getIndexType()); in WidenVecRes_VP_GATHER()
7026 MG->getMemOperand(), MG->getIndexType(), in WidenVecOp_MGATHER()
[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.cpp1141 Type *IndexTy = DL.getIndexType(Call->getType()); in foldMemChr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp229 Type *PtrIdxTy = IC.getDataLayout().getIndexType(AI.getType()); in simplifyAllocaArraySize()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5934 Type *ScalarIndexTy = DL->getIndexType(Ops[0]->getType()->getScalarType()); in optimizeGatherScatterInst()
5974 Type *ScalarIndexTy = DL->getIndexType(V->getType()->getScalarType()); in optimizeGatherScatterInst()
6285 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in splitLargeGEPOffsets()
6353 Type *PtrIdxTy = DL->getIndexType(GEP->getType()); in splitLargeGEPOffsets()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp1824 printTypeIndex("IndexType", AT.getIndexType(), StreamTPI); in visitKnownRecord()
1850 Subrange->setType(getElement(StreamTPI, AR.getIndexType())); in visitKnownRecord()

12