Home
last modified time | relevance | path

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

12

/freebsd-14-stable/contrib/llvm-project/llvm/lib/Analysis/
HDOverflowInstAnalysis.cpp36 if (!Extract || !Extract->getIndices().equals(1)) in isCheckForZeroAndMulWithOverflow()
HDTypeMetadataUtils.cpp123 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
127 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
HDLint.cpp668 FindInsertedValue(Ex->getAggregateOperand(), Ex->getIndices())) in findValueImpl()
HDConstantFolding.cpp1048 Ops[0], cast<ExtractValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1053 Ops[0], Ops[1], cast<InsertValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
HDInstructionSimplify.cpp5136 EV->getIndices() == Idxs) { in simplifyInsertValueInst()
5204 ArrayRef<unsigned> InsertValueIdxs = IVI->getIndices(); in simplifyExtractValueInst()
7152 return simplifyInsertValueInst(NewOps[0], NewOps[1], IV->getIndices(), Q, in simplifyInstructionWithOperands()
7159 return simplifyExtractValueInst(NewOps[0], EVI->getIndices(), Q, in simplifyInstructionWithOperands()
HDLazyValueInfo.cpp1074 EVI->getAggregateOperand(), EVI->getIndices(), in solveBlockValueExtractValue()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
HDRecordName.cpp81 auto Indices = Args.getIndices(); in visitKnownRecord()
98 auto Indices = Strings.getIndices(); in visitKnownRecord()
HDTypeDumpVisitor.cpp226 auto Indices = Args.getIndices(); in visitKnownRecord()
237 auto Indices = Strs.getIndices(); in visitKnownRecord()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombinePHI.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()
HDInstCombineVectorOps.cpp919 ArrayRef<unsigned int> Indices = CurrIVI->getIndices(); in foldAggregateConstructionIntoAggregateReuse()
990 if (EVI->getNumIndices() != 1 || EltIdx != EVI->getIndices().front()) in foldAggregateConstructionIntoAggregateReuse()
1150 I.getAggregateOperand(), I.getInsertedValueOperand(), I.getIndices(), in visitInsertValueInst()
1155 ArrayRef<unsigned int> FirstIndices = I.getIndices(); in visitInsertValueInst()
1168 if (UserInsInst->getIndices() == FirstIndices) { in visitInsertValueInst()
HDInstructionCombining.cpp3964 if (Value *V = simplifyExtractValueInst(Agg, EV.getIndices(), in visitExtractValueInst()
3985 EV.getIndices()); in visitExtractValueInst()
4003 EV.getIndices()); in visitExtractValueInst()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/IR/
HDInstruction.cpp825 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in hasSameSpecialState()
827 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in hasSameSpecialState()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDFunctionComparator.cpp714 ArrayRef<unsigned> LIndices = IVI->getIndices(); in cmpOperations()
715 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
725 ArrayRef<unsigned> LIndices = EVI->getIndices(); in cmpOperations()
726 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices(); in cmpOperations()
HDSimplifyIndVar.cpp436 if (EVI->getIndices()[0] == 1) in eliminateOverflowIntrinsic()
439 assert(EVI->getIndices()[0] == 0 && "Only two possibilities!"); in eliminateOverflowIntrinsic()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDAnalysis.cpp344 ArrayRef<unsigned> InsertLoc = IVI->getIndices(); in getNoopInput()
361 ArrayRef<unsigned> ExtractLoc = EVI->getIndices(); in getNoopInput()
HDAtomicExpandPass.cpp1505 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
1508 if (EV->getIndices()[0] == 0) in expandAtomicCmpXchg()
/freebsd-14-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
HDMinimalTypeDumper.cpp307 auto Indices = Args.getIndices(); in visitKnownRecord()
322 auto Indices = Strings.getIndices(); in visitKnownRecord()
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
HDTypeRecord.h244 ArrayRef<TypeIndex> getIndices() const { return ArgIndices; } in getIndices() function
258 ArrayRef<TypeIndex> getIndices() const { return StringIndices; } in getIndices() function
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUTargetTransformInfo.cpp1001 ArrayRef<unsigned> Indices = ExtValue->getIndices(); in isAlwaysUniform()
1011 return !isInlineAsmSourceOfDivergence(CI, ExtValue->getIndices()); in isAlwaysUniform()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
HDExecution.cpp1905 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitExtractValueInst()
1952 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitInsertValueInst()
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDPatternMatch.h2852 !(I->getNumIndices() == 1 && I->getIndices()[0] == (unsigned)Ind))
2884 I->getNumIndices() == 1 && Ind == I->getIndices()[0];
HDInstructions.h2354 ArrayRef<unsigned> getIndices() const {
2460 ArrayRef<unsigned> getIndices() const {
/freebsd-14-stable/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
HDLVCodeViewVisitor.cpp1798 ArrayRef<TypeIndex> Indices = Args.getIndices(); in visitKnownRecord()
2541 ArrayRef<TypeIndex> Indices = Strings.getIndices(); in visitKnownRecord()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
HDDataFlowSanitizer.cpp2826 Value *ResShadow = IRB.CreateExtractValue(AggShadow, I.getIndices()); in visitExtractValueInst()
2835 Value *Res = IRB.CreateInsertValue(AggShadow, InsShadow, I.getIndices()); in visitInsertValueInst()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
HDCoroSplit.cpp594 EVI->replaceAllUsesWith(Args[EVI->getIndices().front()]); in replaceRetconOrAsyncSuspendUses()

12