Home
last modified time | relevance | path

Searched refs:getIndices (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp115 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
119 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
H A DOverflowInstAnalysis.cpp36 if (!Extract || !Extract->getIndices().equals(1)) in isCheckForZeroAndMulWithOverflow()
H A DLint.cpp682 FindInsertedValue(Ex->getAggregateOperand(), Ex->getIndices())) in findValueImpl()
H A DConstantFolding.cpp1065 Ops[0], cast<ExtractValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1070 Ops[0], Ops[1], cast<InsertValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
H A DInstructionSimplify.cpp5110 EV->getIndices() == Idxs) { in simplifyInsertValueInst()
5178 ArrayRef<unsigned> InsertValueIdxs = IVI->getIndices(); in simplifyExtractValueInst()
7068 return simplifyInsertValueInst(NewOps[0], NewOps[1], IV->getIndices(), Q, in simplifyInstructionWithOperands()
7075 return simplifyExtractValueInst(NewOps[0], EVI->getIndices(), Q, in simplifyInstructionWithOperands()
H A DLazyValueInfo.cpp1060 EVI->getAggregateOperand(), EVI->getIndices(), in solveBlockValueExtractValue()
H A DValueTracking.cpp1668 if (EVI->getIndices()[0] == 0) { in computeKnownBitsFromOperator()
5219 ArrayRef<unsigned> Indices = Extract->getIndices(); in computeKnownFPClass()
6491 if (EVI->getIndices()[0] == 0) in isOverflowIntrinsicNoWrap()
6494 assert(EVI->getIndices()[0] == 1 && "Obvious from CI's type"); in isOverflowIntrinsicNoWrap()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp81 auto Indices = Args.getIndices(); in visitKnownRecord()
98 auto Indices = Strings.getIndices(); in visitKnownRecord()
H A DTypeDumpVisitor.cpp225 auto Indices = Args.getIndices(); in visitKnownRecord()
236 auto Indices = Strs.getIndices(); in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp338 if (!I || !I->hasOneUser() || I->getIndices() != FirstIVI->getIndices()) in foldPHIArgInsertValueInstructionIntoPHI()
361 FirstIVI->getIndices(), PN.getName()); in foldPHIArgInsertValueInstructionIntoPHI()
378 if (!I || !I->hasOneUser() || I->getIndices() != FirstEVI->getIndices() || in foldPHIArgExtractValueInstructionIntoPHI()
398 FirstEVI->getIndices(), PN.getName()); in foldPHIArgExtractValueInstructionIntoPHI()
H A DInstCombineVectorOps.cpp912 ArrayRef<unsigned int> Indices = CurrIVI->getIndices(); in foldAggregateConstructionIntoAggregateReuse()
983 if (EVI->getNumIndices() != 1 || EltIdx != EVI->getIndices().front()) in foldAggregateConstructionIntoAggregateReuse()
1143 I.getAggregateOperand(), I.getInsertedValueOperand(), I.getIndices(), in visitInsertValueInst()
1148 ArrayRef<unsigned int> FirstIndices = I.getIndices(); in visitInsertValueInst()
1161 if (UserInsInst->getIndices() == FirstIndices) { in visitInsertValueInst()
H A DInstructionCombining.cpp3483 if (Value *V = simplifyExtractValueInst(Agg, EV.getIndices(), in visitExtractValueInst()
3504 EV.getIndices()); in visitExtractValueInst()
3522 EV.getIndices()); in visitExtractValueInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp694 ArrayRef<unsigned> LIndices = IVI->getIndices(); in cmpOperations()
695 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
705 ArrayRef<unsigned> LIndices = EVI->getIndices(); in cmpOperations()
706 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices(); in cmpOperations()
H A DSimplifyIndVar.cpp424 if (EVI->getIndices()[0] == 1) in eliminateOverflowIntrinsic()
427 assert(EVI->getIndices()[0] == 0 && "Only two possibilities!"); in eliminateOverflowIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp733 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in hasSameSpecialState()
735 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in hasSameSpecialState()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp306 auto Indices = Args.getIndices(); in visitKnownRecord()
321 auto Indices = Strings.getIndices(); in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp381 ArrayRef<unsigned> InsertLoc = IVI->getIndices(); in getNoopInput()
398 ArrayRef<unsigned> ExtractLoc = EVI->getIndices(); in getNoopInput()
H A DAtomicExpandPass.cpp1421 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
1424 if (EV->getIndices()[0] == 0) in expandAtomicCmpXchg()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h244 ArrayRef<TypeIndex> getIndices() const { return ArgIndices; } in getIndices() function
258 ArrayRef<TypeIndex> getIndices() const { return StringIndices; } in getIndices() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp1004 ArrayRef<unsigned> Indices = ExtValue->getIndices(); in isAlwaysUniform()
1014 return !isInlineAsmSourceOfDivergence(CI, ExtValue->getIndices()); in isAlwaysUniform()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1941 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitExtractValueInst()
1988 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitInsertValueInst()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h2577 !(I->getNumIndices() == 1 && I->getIndices()[0] == (unsigned)Ind))
2609 I->getNumIndices() == 1 && Ind == I->getIndices()[0];
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp1798 ArrayRef<TypeIndex> Indices = Args.getIndices(); in visitKnownRecord()
2541 ArrayRef<TypeIndex> Indices = Strings.getIndices(); in visitKnownRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp2812 Value *ResShadow = IRB.CreateExtractValue(AggShadow, I.getIndices()); in visitExtractValueInst()
2821 Value *Res = IRB.CreateInsertValue(AggShadow, InsShadow, I.getIndices()); in visitInsertValueInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp612 EVI->replaceAllUsesWith(Args[EVI->getIndices().front()]); in replaceRetconOrAsyncSuspendUses()

12