Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DTypeMetadataUtils.cpp113 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 0) { in findDevirtualizableCallsForTypeCheckedLoad()
117 if (EVI->getNumIndices() == 1 && EVI->getIndices()[0] == 1) { in findDevirtualizableCallsForTypeCheckedLoad()
DOverflowInstAnalysis.cpp36 if (!Extract || !Extract->getIndices().equals(1)) in isCheckForZeroAndMulWithOverflow()
DLint.cpp679 FindInsertedValue(Ex->getAggregateOperand(), Ex->getIndices())) in findValueImpl()
DConstantFolding.cpp1094 Ops[0], cast<ExtractValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
1099 Ops[0], Ops[1], cast<InsertValueInst>(InstOrCE)->getIndices()); in ConstantFoldInstOperandsImpl()
DInstructionSimplify.cpp4884 EV->getIndices() == Idxs) { in simplifyInsertValueInst()
4949 ArrayRef<unsigned> InsertValueIdxs = IVI->getIndices(); in simplifyExtractValueInst()
6665 return simplifyInsertValueInst(NewOps[0], NewOps[1], IV->getIndices(), Q); in simplifyInstructionWithOperands()
6671 return simplifyExtractValueInst(NewOps[0], EVI->getIndices(), Q); in simplifyInstructionWithOperands()
DLazyValueInfo.cpp1021 EVI->getAggregateOperand(), EVI->getIndices(), in solveBlockValueExtractValue()
DValueTracking.cpp1860 if (EVI->getIndices()[0] == 0) { in computeKnownBitsFromOperator()
5166 if (EVI->getIndices()[0] == 0) in isOverflowIntrinsicNoWrap()
5169 assert(EVI->getIndices()[0] == 1 && "Obvious from CI's type"); in isOverflowIntrinsicNoWrap()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DInstruction.cpp522 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in haveSameSpecialState()
524 return EVI->getIndices() == cast<ExtractValueInst>(I2)->getIndices(); in haveSameSpecialState()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
DRecordName.cpp81 auto Indices = Args.getIndices(); in visitKnownRecord()
98 auto Indices = Strings.getIndices(); in visitKnownRecord()
DTypeDumpVisitor.cpp225 auto Indices = Args.getIndices(); in visitKnownRecord()
236 auto Indices = Strs.getIndices(); in visitKnownRecord()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
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()
DInstCombineVectorOps.cpp902 ArrayRef<unsigned int> Indices = CurrIVI->getIndices(); in foldAggregateConstructionIntoAggregateReuse()
973 if (EVI->getNumIndices() != 1 || EltIdx != EVI->getIndices().front()) in foldAggregateConstructionIntoAggregateReuse()
1133 ArrayRef<unsigned int> FirstIndices = I.getIndices(); in visitInsertValueInst()
1146 if (UserInsInst->getIndices() == FirstIndices) { in visitInsertValueInst()
DInstructionCombining.cpp3355 if (Value *V = simplifyExtractValueInst(Agg, EV.getIndices(), in visitExtractValueInst()
3376 EV.getIndices()); in visitExtractValueInst()
3394 EV.getIndices()); in visitExtractValueInst()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp623 ArrayRef<unsigned> LIndices = IVI->getIndices(); in cmpOperations()
624 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
634 ArrayRef<unsigned> LIndices = EVI->getIndices(); in cmpOperations()
635 ArrayRef<unsigned> RIndices = cast<ExtractValueInst>(R)->getIndices(); in cmpOperations()
DSimplifyIndVar.cpp419 if (EVI->getIndices()[0] == 1) in eliminateOverflowIntrinsic()
422 assert(EVI->getIndices()[0] == 0 && "Only two possibilities!"); in eliminateOverflowIntrinsic()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DAnalysis.cpp332 ArrayRef<unsigned> InsertLoc = IVI->getIndices(); in getNoopInput()
349 ArrayRef<unsigned> ExtractLoc = EVI->getIndices(); in getNoopInput()
DAtomicExpandPass.cpp1435 assert(EV->getNumIndices() == 1 && EV->getIndices()[0] <= 1 && in expandAtomicCmpXchg()
1438 if (EV->getIndices()[0] == 0) in expandAtomicCmpXchg()
/openbsd/src/gnu/llvm/llvm/tools/llvm-pdbutil/
DMinimalTypeDumper.cpp305 auto Indices = Args.getIndices(); in visitKnownRecord()
320 auto Indices = Strings.getIndices(); in visitKnownRecord()
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h244 ArrayRef<TypeIndex> getIndices() const { return ArgIndices; } in getIndices() function
258 ArrayRef<TypeIndex> getIndices() const { return StringIndices; } in getIndices() function
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp997 ArrayRef<unsigned> Indices = ExtValue->getIndices(); in isAlwaysUniform()
1007 return !isInlineAsmSourceOfDivergence(CI, ExtValue->getIndices()); in isAlwaysUniform()
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1941 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitExtractValueInst()
1988 Type *IndexedType = ExtractValueInst::getIndexedType(Agg->getType(), I.getIndices()); in visitInsertValueInst()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DPatternMatch.h2429 !(I->getNumIndices() == 1 && I->getIndices()[0] == (unsigned)Ind))
2461 I->getNumIndices() == 1 && Ind == I->getIndices()[0];
DInstructions.h2520 ArrayRef<unsigned> getIndices() const {
2650 ArrayRef<unsigned> getIndices() const {
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp2810 Value *ResShadow = IRB.CreateExtractValue(AggShadow, I.getIndices()); in visitExtractValueInst()
2819 Value *Res = IRB.CreateInsertValue(AggShadow, InsShadow, I.getIndices()); in visitInsertValueInst()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp560 EVI->replaceAllUsesWith(Args[EVI->getIndices().front()]); in replaceRetconOrAsyncSuspendUses()

12