Searched refs:IVI (Results 1 - 17 of 17) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp633 void visitInsertValueInst(InsertValueInst &IVI);
1325 void SCCPInstVisitor::visitInsertValueInst(InsertValueInst &IVI) { argument
1326 auto *STy = dyn_cast<StructType>(IVI.getType());
1328 return (void)markOverdefined(&IVI);
1332 if (SCCPSolver::isOverdefined(ValueState[&IVI]))
1333 return (void)markOverdefined(&IVI);
1337 if (IVI.getNumIndices() != 1)
1338 return (void)markOverdefined(&IVI);
1340 Value *Aggr = IVI.getAggregateOperand();
1341 unsigned Idx = *IVI
1348 mergeInValue(getStructValueState(&IVI, i), &IVI, EltVal); local
1355 markOverdefined(getStructValueState(&IVI, i), &IVI); local
1358 mergeInValue(getStructValueState(&IVI, i), &IVI, InVal); local
[all...]
H A DFunctionComparator.cpp693 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(L)) {
694 ArrayRef<unsigned> LIndices = IVI->getIndices();
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h135 bool vectorizeInsertValueInst(InsertValueInst *IVI, BasicBlock *BB,
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp306 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(Inst))
307 return hash_combine(IVI->getOpcode(), IVI->getOperand(0),
308 IVI->getOperand(1),
309 hash_combine_range(IVI->idx_begin(), IVI->idx_end()));
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp379 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(V)) {
381 ArrayRef<unsigned> InsertLoc = IVI->getIndices();
388 NoopInput = IVI->getInsertedValueOperand();
/freebsd-current/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5312 ObjCInterfaceDecl::ivar_iterator IVI, IVE; local
5317 IVI = IDecl->ivar_begin();
5320 IVI = CDecl->ivar_begin();
5324 Result += IVI->getNameAsString();
5327 Context->getObjCEncodingForType(IVI->getType(), TmpString, *IVI);
5331 RewriteIvarOffsetComputation(*IVI, Result);
5333 for (++IVI; IVI != IVE; ++IVI) {
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp732 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1))
733 return IVI->getIndices() == cast<InsertValueInst>(I2)->getIndices();
H A DInstructions.cpp2740 InsertValueInst::InsertValueInst(const InsertValueInst &IVI) argument
2741 : Instruction(IVI.getType(), InsertValue,
2743 Indices(IVI.Indices) {
2744 Op<0>() = IVI.getOperand(0);
2745 Op<1>() = IVI.getOperand(1);
2746 SubclassOptionalData = IVI.SubclassOptionalData;
H A DVerifier.cpp578 void visitInsertValueInst(InsertValueInst &IVI);
4224 void Verifier::visitInsertValueInst(InsertValueInst &IVI) { argument
4225 Check(ExtractValueInst::getIndexedType(IVI.getAggregateOperand()->getType(),
4226 IVI.getIndices()) ==
4227 IVI.getOperand(1)->getType(),
4228 "Invalid InsertValueInst operands!", &IVI);
4230 visitInstruction(IVI);
H A DAsmWriter.cpp4238 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(&I)) {
4242 for (unsigned i : IVI->indices())
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp2197 IVI = IDecl->ivar_begin(), IVE = IDecl->ivar_end(); local
2198 for (; numIvars > 0 && IVI != IVE; ++IVI) {
2200 ObjCIvarDecl* ClsIvar = *IVI;
2230 else if (IVI != IVE)
2231 Diag(IVI->getLocation(), diag::err_inconsistent_ivar_count);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2290 const InsertValueInst *IVI = cast<InsertValueInst>(&I); local
2291 Vals.append(IVI->idx_begin(), IVI->idx_end());
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp5176 for (auto *IVI = dyn_cast<InsertValueInst>(Agg); IVI != nullptr;
5177 IVI = dyn_cast<InsertValueInst>(IVI->getAggregateOperand())) {
5178 ArrayRef<unsigned> InsertValueIdxs = IVI->getIndices();
5184 return IVI->getInsertedValueOperand();
/freebsd-current/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2934 const InsertValueInst *IVI = cast<InsertValueInst>(&I); local
2935 Vals.append(IVI->idx_begin(), IVI->idx_end());
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1467 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(&U)) {
1468 for (auto Idx : IVI->indices())
/freebsd-current/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2578 InsertValueInst(const InsertValueInst &IVI);
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp15654 bool SLPVectorizerPass::vectorizeInsertValueInst(InsertValueInst *IVI,
15656 if (!R.canMapToVector(IVI->getType()))
15661 if (!findBuildAggregate(IVI, TTI, BuildVectorOpds, BuildVectorInsts))
15664 LLVM_DEBUG(dbgs() << "SLP: array mappable to vector: " << *IVI << "\n");

Completed in 592 milliseconds