Home
last modified time | relevance | path

Searched refs:InsertValueInst (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp95 InsertValueInst *SelIVI = dyn_cast<InsertValueInst>(V); in GetExceptionObject()
97 InsertValueInst *ExcIVI = nullptr; in GetExceptionObject()
102 ExcIVI = dyn_cast<InsertValueInst>(SelIVI->getOperand(0)); in GetExceptionObject()
H A DAnalysis.cpp308 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(V)) { in getNoopInput()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h39 class InsertValueInst; variable
118 bool vectorizeInsertValueInst(InsertValueInst *IVI, BasicBlock *BB,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2455 class InsertValueInst : public Instruction {
2458 InsertValueInst(const InsertValueInst &IVI);
2464 inline InsertValueInst(Value *Agg, Value *Val,
2468 inline InsertValueInst(Value *Agg, Value *Val,
2474 InsertValueInst(Value *Agg, Value *Val, unsigned Idx,
2487 InsertValueInst *cloneImpl() const;
2494 static InsertValueInst *Create(Value *Agg, Value *Val,
2561 struct OperandTraits<InsertValueInst> :
2562 public FixedNumOperandTraits<InsertValueInst, 2> {
2565 InsertValueInst::InsertValueInst(Value *Agg,
[all …]
H A DInstVisitor.h196 RetTy visitInsertValueInst(InsertValueInst &I) { DELEGATE(Instruction); } in visitInsertValueInst()
H A DNoFolder.h314 return InsertValueInst::Create(Agg, Val, IdxList); in CreateInsertValue()
H A DInstruction.def218 HANDLE_OTHER_INST(65, InsertValue, InsertValueInst) // insert into aggregate
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp462 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) in haveSameSpecialState()
463 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices(); in haveSameSpecialState()
H A DInstructions.cpp2333 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init()
2352 InsertValueInst::InsertValueInst(const InsertValueInst &IVI) in InsertValueInst() function in InsertValueInst
2354 OperandTraits<InsertValueInst>::op_begin(this), 2), in InsertValueInst()
4372 InsertValueInst *InsertValueInst::cloneImpl() const { in cloneImpl()
4373 return new InsertValueInst(*this); in cloneImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp306 auto *FirstIVI = cast<InsertValueInst>(PN.getIncomingValue(0)); in foldPHIArgInsertValueInstructionIntoPHI()
311 auto *I = dyn_cast<InsertValueInst>(PN.getIncomingValue(i)); in foldPHIArgInsertValueInstructionIntoPHI()
328 cast<InsertValueInst>(std::get<1>(Incoming))->getOperand(OpIdx), in foldPHIArgInsertValueInstructionIntoPHI()
334 auto *NewIVI = InsertValueInst::Create(NewOperands[0], NewOperands[1], in foldPHIArgInsertValueInstructionIntoPHI()
836 if (isa<InsertValueInst>(FirstInst)) in foldPHIArgOpIntoPHI()
H A DInstCombineInternal.h163 foldAggregateConstructionIntoAggregateReuse(InsertValueInst &OrigIVI);
164 Instruction *visitInsertValueInst(InsertValueInst &IV);
H A DInstCombineVectorOps.cpp775 InsertValueInst &OrigIVI) { in foldAggregateConstructionIntoAggregateReuse()
817 for (InsertValueInst *CurrIVI = &OrigIVI; in foldAggregateConstructionIntoAggregateReuse()
819 CurrIVI = dyn_cast<InsertValueInst>(CurrIVI->getAggregateOperand()), in foldAggregateConstructionIntoAggregateReuse()
1054 Instruction *InstCombinerImpl::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
1066 auto UserInsInst = dyn_cast<InsertValueInst>(U); in visitInsertValueInst()
H A DInstructionCombining.cpp3066 if (InsertValueInst *IV = dyn_cast<InsertValueInst>(Agg)) { in visitExtractValueInst()
3102 return InsertValueInst::Create(NewEV, IV->getInsertedValueOperand(), in visitExtractValueInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp409 if (const InsertValueInst *IV = dyn_cast<InsertValueInst>(V)) { in SurveyUse()
410 if (U->getOperandNo() != InsertValueInst::getAggregateOperandIndex() in SurveyUse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h168 void visitInsertValueInst(InsertValueInst &I);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp607 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(L)) { in cmpOperations()
609 ArrayRef<unsigned> RIndices = cast<InsertValueInst>(R)->getIndices(); in cmpOperations()
H A DSCCPSolver.cpp297 void visitInsertValueInst(InsertValueInst &IVI);
859 void SCCPInstVisitor::visitInsertValueInst(InsertValueInst &IVI) { in visitInsertValueInst()
1469 if (isa<ExtractValueInst>(I) || isa<InsertValueInst>(I)) in resolvedUndefsIn()
H A DEvaluator.cpp434 } else if (auto *IVI = dyn_cast<InsertValueInst>(CurInst)) { in EvaluateBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp139 isa<InsertValueInst>(Inst) || isa<FreezeInst>(Inst); in canHandle()
281 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst)) in getHashValueImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp284 if (isa<const InsertValueInst>(Instr) && OpIdx > 1) in shouldConvertUse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp274 return InsertValueInst::Create(Srcs[0], Srcs[1], {Idx}, "I", Inst); in insertValueDescriptor()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DCFLGraph.h497 void visitInsertValueInst(InsertValueInst &Inst) { in visitInsertValueInst()
H A DInlineCost.cpp404 bool visitInsertValue(InsertValueInst &I);
1984 bool CallAnalyzer::visitInsertValue(InsertValueInst &I) { in visitInsertValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp567 auto *IV = cast<InsertValueInst>(InsertInst); in getInsertIndex()
8038 auto *IV = cast<InsertValueInst>(InsertInst); in getAggregateSize()
8072 isa<InsertValueInst>(InsertedOperand)) { in findBuildAggregate_rec()
8082 (isa<InsertValueInst>(LastInsertInst) || in findBuildAggregate_rec()
8108 isa<InsertValueInst>(LastInsertInst)) && in findBuildAggregate()
8315 bool SLPVectorizerPass::vectorizeInsertValueInst(InsertValueInst *IVI, in vectorizeInsertValueInst()
8355 if (auto *LastInsertValue = dyn_cast<InsertValueInst>(I)) in vectorizeSimpleInstructions()
8651 isa<InsertValueInst>(it)) in vectorizeChainsInBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp666 if (isa<InsertValueInst>(User) || isa<InsertElementInst>(User)) in collectUsesWithPtrTypes()

12