|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Instructions.h 2598 DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
References
include/llvm/IR/Instructions.h 2608 reinterpret_cast<Use::UserRef*>(op_begin() + ReservedSpace);
2614 reinterpret_cast<const Use::UserRef*>(op_begin() + ReservedSpace);
2619 return block_begin() + getNumOperands();
2623 return block_begin() + getNumOperands();
2640 unsigned getNumIncomingValues() const { return getNumOperands(); }
2645 return getOperand(i);
2651 setOperand(i, V);
2673 return getIncomingBlock(unsigned(&U - op_begin()));
2691 for (unsigned Op = 0, NumOps = getNumOperands(); Op != NumOps; ++Op)
2699 if (getNumOperands() == ReservedSpace)
2702 setNumHungOffUseOperands(getNumOperands() + 1);
2703 setIncomingValue(getNumOperands() - 1, V);
2704 setIncomingBlock(getNumOperands() - 1, BB);
2727 for (unsigned i = 0, e = getNumOperands(); i != e; ++i)
2743 for (unsigned Op = 0, NumOps = getNumOperands(); Op != NumOps; ++Op)
lib/Analysis/ScalarEvolution.cpp 8202 if (PN->getNumOperands() == 1) {
8203 const SCEV *Input = getSCEV(PN->getOperand(0));
lib/IR/Instructions.cpp 107 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()),
108 ReservedSpace(PN.getNumOperands()) {
109 allocHungoffUses(PN.getNumOperands());
110 std::copy(PN.op_begin(), PN.op_end(), op_begin());
110 std::copy(PN.op_begin(), PN.op_end(), op_begin());
110 std::copy(PN.op_begin(), PN.op_end(), op_begin());
125 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx);
125 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx);
125 std::copy(op_begin() + Idx + 1, op_end(), op_begin() + Idx);
129 Op<-1>().set(nullptr);
130 setNumHungOffUseOperands(getNumOperands() - 1);
133 if (getNumOperands() == 0 && DeletePHIIfEmpty) {
146 unsigned e = getNumOperands();
lib/Target/PowerPC/PPCBoolRetToInt.cpp 104 for (unsigned i = 0; i < P->getNumOperands(); ++i)
lib/Target/XCore/XCoreLowerThreadLocal.cpp 143 PN->setOperand(I, NewInst);
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp 107 Value *P0 = Phi.getOperand(0), *P1 = Phi.getOperand(1);
107 Value *P0 = Phi.getOperand(0), *P1 = Phi.getOperand(1);
lib/Transforms/InstCombine/InstCombineCasts.cpp 2224 PHINode *NewPN = Builder.CreatePHI(DestTy, OldPN->getNumOperands());
2231 for (unsigned j = 0, e = OldPN->getNumOperands(); j != e; ++j) {
2232 Value *V = OldPN->getOperand(j);
lib/Transforms/InstCombine/InstructionCombining.cpp 1688 auto *Op1 = dyn_cast<GetElementPtrInst>(PN->getOperand(0));
1703 for (auto I = PN->op_begin()+1, E = PN->op_end(); I !=E; ++I) {
1703 for (auto I = PN->op_begin()+1, E = PN->op_end(); I !=E; ++I) {
1776 PN->getNumOperands());
lib/Transforms/Scalar/IndVarSimplify.cpp 1553 if (UsePhi->getNumOperands() != 1)
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 1255 (PhiX->getOperand(0) == DefX || PhiX->getOperand(1) == DefX))
1255 (PhiX->getOperand(0) == DefX || PhiX->getOperand(1) == DefX))
1381 if (T != PhiX->getOperand(0) && T != PhiX->getOperand(1))
1381 if (T != PhiX->getOperand(0) && T != PhiX->getOperand(1))
lib/Transforms/Scalar/LoopInterchange.cpp 628 unsigned Num = InnerInduction->getNumOperands();
631 Value *Val = InnerInduction->getOperand(i);
lib/Transforms/Scalar/LoopUnswitch.cpp 1631 for (unsigned It = 0, E = PN->getNumOperands(); It != E; ++It)
1632 if (Instruction *Use = dyn_cast<Instruction>(PN->getOperand(It)))
lib/Transforms/Scalar/NewGVN.cpp 1976 for (unsigned i = 0; i < PN->getNumOperands(); ++i)
2738 if (OpPHI->getNumOperands() == 1) {
2751 for (unsigned PredNum = 0; PredNum < OpPHI->getNumOperands(); ++PredNum) {
2828 PHINode::Create(I->getType(), OpPHI->getNumOperands(), "phiofops");
lib/Transforms/Scalar/SROA.cpp 3163 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr);
3163 std::replace(PN.op_begin(), PN.op_end(), cast<Value>(OldPtr), NewPtr);
lib/Transforms/Scalar/Scalarizer.cpp 751 unsigned NumOps = PHI.getNumOperands();
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 204 for (auto i : seq<int>(0, PN.getNumOperands())) {
1112 for (int i = PN.getNumOperands() - 1; i >= 0; --i) {
lib/Transforms/Utils/LoopUnrollAndJam.cpp 399 assert(Phi.getNumOperands() == 2);
lib/Transforms/Utils/LoopVersioning.cpp 154 assert(PN->getNumOperands() == 1 &&
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 893 unsigned NewPHINumOperands = APN->getNumOperands();
924 } while (APN->getNumOperands() == NewPHINumOperands);
lib/Transforms/Vectorize/SLPVectorizer.cpp 4334 PH->setOperand(i, Ex);
unittests/IR/UserTest.cpp 105 EXPECT_EQ(P.getOperand(3), *I);
107 EXPECT_EQ(P.getOperand(6), I[2]);
114 EXPECT_EQ(IP->getOperand(3), *CI);
116 EXPECT_EQ(IP->getOperand(6), CI[2]);