Lines Matching refs:getNumOperands
114 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()), in PHINode()
115 ReservedSpace(PN.getNumOperands()) { in PHINode()
116 allocHungoffUses(PN.getNumOperands()); in PHINode()
137 setNumHungOffUseOperands(getNumOperands() - 1); in removeIncomingValue()
140 if (getNumOperands() == 0 && DeletePHIIfEmpty) { in removeIncomingValue()
171 setNumHungOffUseOperands(getNumOperands() - RemoveIndices.size()); in removeIncomingValueIf()
174 if (getNumOperands() == 0 && DeletePHIIfEmpty) { in removeIncomingValueIf()
186 unsigned e = getNumOperands(); in growOperands()
247 LP.getNumOperands()), in LandingPadInst()
248 ReservedSpace(LP.getNumOperands()) { in LandingPadInst()
249 allocHungoffUses(LP.getNumOperands()); in LandingPadInst()
281 unsigned e = getNumOperands(); in growOperands()
288 unsigned OpNo = getNumOperands(); in addClause()
291 setNumHungOffUseOperands(getNumOperands() + 1); in addClause()
676 assert(getNumOperands() == Args.size() + CountBundleInputs(Bundles) + 1 && in init()
704 assert(getNumOperands() == 1 && "NumOperands not set up?"); in init()
728 OperandTraits<CallBase>::op_end(this) - CI.getNumOperands(), in CallInst()
729 CI.getNumOperands()) { in CallInst()
780 ProfileData->getNumOperands() > 0) { in updateProfWeight()
790 for (unsigned i = 1; i < ProfileData->getNumOperands(); i += 2) { in updateProfWeight()
822 assert((int)getNumOperands() == in init()
853 OperandTraits<CallBase>::op_end(this) - II.getNumOperands(), in InvokeInst()
854 II.getNumOperands()) { in InvokeInst()
891 assert((int)getNumOperands() == in init()
925 OperandTraits<CallBase>::op_end(this) - CBI.getNumOperands(), in CallBrInst()
926 CBI.getNumOperands()) { in CallBrInst()
956 OperandTraits<ReturnInst>::op_end(this) - RI.getNumOperands(), in ReturnInst()
957 RI.getNumOperands()) { in ReturnInst()
958 if (RI.getNumOperands()) in ReturnInst()
1012 CRI.getNumOperands(), in CleanupReturnInst()
1013 CRI.getNumOperands()) { in CleanupReturnInst()
1108 CSI.getNumOperands()) { in CatchSwitchInst()
1109 init(CSI.getParentPad(), CSI.getUnwindDest(), CSI.getNumOperands()); in CatchSwitchInst()
1135 unsigned NumOperands = getNumOperands(); in growOperands()
1144 unsigned OpNo = getNumOperands(); in addHandler()
1147 setNumHungOffUseOperands(getNumOperands() + 1); in addHandler()
1159 setNumHungOffUseOperands(getNumOperands() - 1); in removeHandler()
1167 assert(getNumOperands() == 1 + Args.size() && "NumOperands not set up?"); in init()
1176 FPI.getNumOperands(), in FuncletPadInst()
1177 FPI.getNumOperands()) { in FuncletPadInst()
1266 OperandTraits<BranchInst>::op_end(this) - BI.getNumOperands(), in BranchInst()
1267 BI.getNumOperands()) { in BranchInst()
1269 if (BI.getNumOperands() != 1) { in BranchInst()
1270 assert(BI.getNumOperands() == 3 && "BR can have 1 or 3 operands!"); in BranchInst()
1707 assert(getNumOperands() == 1 + IdxList.size() && in init()
1717 GEPI.getNumOperands(), in GetElementPtrInst()
1718 GEPI.getNumOperands()), in GetElementPtrInst()
1782 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllZeroIndices()
1796 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllConstantIndices()
2723 assert(getNumOperands() == 2 && "NumOperands not initialized?"); in init()
2754 assert(getNumOperands() == 1 && "NumOperands not initialized?"); in init()
4503 init(SI.getCondition(), SI.getDefaultDest(), SI.getNumOperands()); in SwitchInst()
4504 setNumHungOffUseOperands(SI.getNumOperands()); in SwitchInst()
4507 for (unsigned i = 2, E = SI.getNumOperands(); i != E; i += 2) { in SwitchInst()
4518 unsigned OpNo = getNumOperands(); in addCase()
4534 assert(2 + idx*2 < getNumOperands() && "Case index out of range!!!"); in removeCase()
4536 unsigned NumOps = getNumOperands(); in removeCase()
4557 unsigned e = getNumOperands(); in growOperands()
4586 if (ProfileData->getNumOperands() != SI.getNumSuccessors() + 1) { in init()
4667 if (ProfileData->getNumOperands() == SI.getNumSuccessors() + 1) in getSuccessorWeight()
4694 unsigned e = getNumOperands(); in growOperands()
4717 nullptr, IBI.getNumOperands()) { in IndirectBrInst()
4718 allocHungoffUses(IBI.getNumOperands()); in IndirectBrInst()
4721 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
4729 unsigned OpNo = getNumOperands(); in addDestination()
4741 assert(idx < getNumOperands()-1 && "Successor index out of range!"); in removeDestination()
4743 unsigned NumOps = getNumOperands(); in removeDestination()
4778 return new (getNumOperands()) GetElementPtrInst(*this); in cloneImpl()
4899 return new(getNumOperands(), DescriptorBytes) CallInst(*this); in cloneImpl()
4901 return new(getNumOperands()) CallInst(*this); in cloneImpl()
4931 return new(getNumOperands()) ReturnInst(*this); in cloneImpl()
4935 return new(getNumOperands()) BranchInst(*this); in cloneImpl()
4947 return new(getNumOperands(), DescriptorBytes) InvokeInst(*this); in cloneImpl()
4949 return new(getNumOperands()) InvokeInst(*this); in cloneImpl()
4955 return new (getNumOperands(), DescriptorBytes) CallBrInst(*this); in cloneImpl()
4957 return new (getNumOperands()) CallBrInst(*this); in cloneImpl()
4963 return new (getNumOperands()) CleanupReturnInst(*this); in cloneImpl()
4967 return new (getNumOperands()) CatchReturnInst(*this); in cloneImpl()
4975 return new (getNumOperands()) FuncletPadInst(*this); in cloneImpl()