Home
last modified time | relevance | path

Searched refs:getIndexedType (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp54 Offset = DL.getTypeAllocSize(GTI.getIndexedType()) * ElemCount; in getMaxPreservedAlignment()
101 if (isa<ScalableVectorType>(GTI.getIndexedType())) in accumulateConstantOffset()
126 DL.getTypeAllocSize(GTI.getIndexedType()))) in accumulateConstantOffset()
140 DL.getTypeAllocSize(GTI.getIndexedType()))) in accumulateConstantOffset()
162 bool ScalableType = isa<ScalableVectorType>(GTI.getIndexedType()); in collectOffset()
187 DL.getTypeAllocSize(GTI.getIndexedType())); in collectOffset()
197 APInt(BitWidth, DL.getTypeAllocSize(GTI.getIndexedType())); in collectOffset()
H A DConstantFold.cpp1663 CE2->getOperand(i), GTI.getIndexedType())) { in evaluateICmpRelation()
2230 Type *Ty = GetElementPtrInst::getIndexedType(PointeeTy, Idxs); in ConstantFoldGetElementPtr()
2297 Prev = Ty, Ty = (++GEPIter).getIndexedType(), ++i) { in ConstantFoldGetElementPtr()
H A DDataLayout.cpp896 Result += arrayIdx * getTypeAllocSize(GTI.getIndexedType()); in getIndexedOffsetInType()
H A DConstants.cpp2440 Type *DestTy = GetElementPtrInst::getIndexedType(Ty, Idxs); in getGetElementPtr()
2619 assert(ExtractValueInst::getIndexedType(Agg->getType(), in getInsertValue()
2642 Type *ReqTy = ExtractValueInst::getIndexedType(Agg->getType(), Idxs); in getExtractValue()
2879 ResElementTy(GetElementPtrInst::getIndexedType(SrcElementTy, IdxList)) { in GetElementPtrConstantExpr()
H A DInstructions.cpp1762 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<Value *> IdxList) { in getIndexedType() function in GetElementPtrInst
1766 Type *GetElementPtrInst::getIndexedType(Type *Ty, in getIndexedType() function in GetElementPtrInst
1771 Type *GetElementPtrInst::getIndexedType(Type *Ty, ArrayRef<uint64_t> IdxList) { in getIndexedType() function in GetElementPtrInst
2343 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
2388 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType() function in ExtractValueInst
H A DVerifier.cpp3600 GetElementPtrInst::getIndexedType(GEP.getSourceElementType(), Idxs); in visitGetElementPtrInst()
3842 Assert(ExtractValueInst::getIndexedType(EVI.getAggregateOperand()->getType(), in visitExtractValueInst()
3850 Assert(ExtractValueInst::getIndexedType(IVI.getAggregateOperand()->getType(), in visitInsertValueInst()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h72 Type *getIndexedType() const { in getIndexedType() function
81 Type *Ty = getIndexedType();
H A DInstructions.h1044 static Type *getIndexedType(Type *Ty, ArrayRef<Value *> IdxList);
1045 static Type *getIndexedType(Type *Ty, ArrayRef<Constant *> IdxList);
1046 static Type *getIndexedType(Type *Ty, ArrayRef<uint64_t> IdxList);
1096 Type *ResultElemTy = checkGEPType(getIndexedType(ElTy, IdxList));
1173 ResultElementType(getIndexedType(PointeeType, IdxList)) {
1187 ResultElementType(getIndexedType(PointeeType, IdxList)) {
2389 static Type *getIndexedType(Type *Agg, ArrayRef<unsigned> Idxs);
2434 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
2443 : UnaryInstruction(checkGEPType(getIndexedType(Agg->getType(), Idxs)),
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp428 ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()); in advanceToNextLeafType()
436 DeeperType = ExtractValueInst::getIndexedType(DeeperType, 0); in advanceToNextLeafType()
457 while (Type *FirstInner = ExtractValueInst::getIndexedType(Next, 0)) { in firstRealType()
470 while (ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()) in firstRealType()
488 } while (ExtractValueInst::getIndexedType(SubTypes.back(), Path.back()) in nextRealType()
686 ExtractValueInst::getIndexedType(RetSubTypes.back(), RetPath.back()); in returnTypeIsEligibleForTailCall()
H A DCodeGenPrepare.cpp4578 TypeSize TS = DL.getTypeAllocSize(GTI.getIndexedType()); in matchOperationAddr()
5565 auto *SecondTy = GetElementPtrInst::getIndexedType( in optimizeGatherScatterInst()
5579 SourceTy = GetElementPtrInst::getIndexedType( in optimizeGatherScatterInst()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DLocal.h48 uint64_t Size = DL.getTypeAllocSize(GTI.getIndexedType()) & PtrSizeMask;
/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp249 Type *Indexed = ExtractValueInst::getIndexedType(Cur[0]->getType(), in validInsertValueIndex()
260 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp830 ConstantOffset * DL->getTypeAllocSize(GTI.getIndexedType()); in accumulateByteOffset()
876 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToSingleIndexGEPs()
937 DL->getTypeAllocSize(GTI.getIndexedType())); in lowerToArithmetics()
H A DNaryReassociate.cpp340 GTI.getIndexedType())) { in tryReassociateGEP()
H A DStraightLineStrengthReduce.cpp551 uint64_t ElementSize = DL->getTypeAllocSize(GTI.getIndexedType()); in allocateCandidatesAndFindBasisForGEP()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h883 TargetType = GTI.getIndexedType();
901 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize();
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp535 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize() * in DecomposeGEPExpression()
543 DL.getTypeAllocSize(GTI.getIndexedType()).getFixedSize()); in DecomposeGEPExpression()
H A DVectorUtils.cpp160 if (DL.getTypeAllocSize(GEPTI.getIndexedType()) != GEPAllocSize) in getGEPInductionOperand()
H A DValueTracking.cpp1346 Type *IndexedTy = GTI.getIndexedType(); in computeKnownBitsFromOperator()
2110 if (Q.DL.getTypeAllocSize(GTI.getIndexedType()).getKnownMinSize() == 0) in isGEPKnownNonNull()
3991 Type *IndexedType = ExtractValueInst::getIndexedType(From->getType(), in BuildSubAggregate()
4015 assert(ExtractValueInst::getIndexedType(V->getType(), idx_range) && in FindInsertedValue()
7081 TypeSize Size = DL.getTypeAllocSize(GTI.getIndexedType()); in getOffsetFromIndex()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1077 Total += getDataLayout().getTypeAllocSize(I.getIndexedType()) * Idx; in executeGEPOperation()
1941 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitExtractValueInst()
1988 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitInsertValueInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp199 Params.push_back(GetElementPtrInst::getIndexedType( in doPromotion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp496 uint64_t Stride = DL.getTypeAllocSize(GTIA.getIndexedType()); in lookThroughComplexAddresses()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3335 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices)) in parseValID()
3355 ExtractValueInst::getIndexedType(Val0->getType(), Indices); in parseValID()
3597 if (!GetElementPtrInst::getIndexedType(Ty, Indices)) in parseValID()
7489 if (!GetElementPtrInst::getIndexedType(Ty, Indices)) in parseGetElementPtr()
7510 if (!ExtractValueInst::getIndexedType(Val->getType(), Indices)) in parseExtractValue()
7531 Type *IndexedType = ExtractValueInst::getIndexedType(Val0->getType(), Indices); in parseInsertValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp868 Type *AllocTy = GetElementPtrInst::getIndexedType(SourceElementType, Ops); in canReplaceGEPIdxWithZero()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp280 uint64_t S = DL.getTypeAllocSize(GTI.getIndexedType()); in computeAddress()

12