Lines Matching refs:getNumOperands
103 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()), in PHINode()
104 ReservedSpace(PN.getNumOperands()) { in PHINode()
105 allocHungoffUses(PN.getNumOperands()); in PHINode()
126 setNumHungOffUseOperands(getNumOperands() - 1); in removeIncomingValue()
129 if (getNumOperands() == 0 && DeletePHIIfEmpty) { in removeIncomingValue()
142 unsigned e = getNumOperands(); in growOperands()
203 LP.getNumOperands()), in LandingPadInst()
204 ReservedSpace(LP.getNumOperands()) { in LandingPadInst()
205 allocHungoffUses(LP.getNumOperands()); in LandingPadInst()
237 unsigned e = getNumOperands(); in growOperands()
244 unsigned OpNo = getNumOperands(); in addClause()
247 setNumHungOffUseOperands(getNumOperands() + 1); in addClause()
519 assert(getNumOperands() == Args.size() + CountBundleInputs(Bundles) + 1 && in init()
547 assert(getNumOperands() == 1 && "NumOperands not set up?"); in init()
571 OperandTraits<CallBase>::op_end(this) - CI.getNumOperands(), in CallInst()
572 CI.getNumOperands()) { in CallInst()
623 ProfileData->getNumOperands() > 0) { in updateProfWeight()
633 for (unsigned i = 1; i < ProfileData->getNumOperands(); i += 2) { in updateProfWeight()
862 assert((int)getNumOperands() == in init()
893 OperandTraits<CallBase>::op_end(this) - II.getNumOperands(), in InvokeInst()
894 II.getNumOperands()) { in InvokeInst()
931 assert((int)getNumOperands() == in init()
971 OperandTraits<CallBase>::op_end(this) - CBI.getNumOperands(), in CallBrInst()
972 CBI.getNumOperands()) { in CallBrInst()
1002 OperandTraits<ReturnInst>::op_end(this) - RI.getNumOperands(), in ReturnInst()
1003 RI.getNumOperands()) { in ReturnInst()
1004 if (RI.getNumOperands()) in ReturnInst()
1058 CRI.getNumOperands(), in CleanupReturnInst()
1059 CRI.getNumOperands()) { in CleanupReturnInst()
1154 CSI.getNumOperands()) { in CatchSwitchInst()
1155 init(CSI.getParentPad(), CSI.getUnwindDest(), CSI.getNumOperands()); in CatchSwitchInst()
1181 unsigned NumOperands = getNumOperands(); in growOperands()
1190 unsigned OpNo = getNumOperands(); in addHandler()
1193 setNumHungOffUseOperands(getNumOperands() + 1); in addHandler()
1205 setNumHungOffUseOperands(getNumOperands() - 1); in removeHandler()
1213 assert(getNumOperands() == 1 + Args.size() && "NumOperands not set up?"); in init()
1222 FPI.getNumOperands(), in FuncletPadInst()
1223 FPI.getNumOperands()) { in FuncletPadInst()
1312 OperandTraits<BranchInst>::op_end(this) - BI.getNumOperands(), in BranchInst()
1313 BI.getNumOperands()) { in BranchInst()
1315 if (BI.getNumOperands() != 1) { in BranchInst()
1316 assert(BI.getNumOperands() == 3 && "BR can have 1 or 3 operands!"); in BranchInst()
1735 assert(getNumOperands() == 1 + IdxList.size() && in init()
1745 GEPI.getNumOperands(), in GetElementPtrInst()
1746 GEPI.getNumOperands()), in GetElementPtrInst()
1810 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllZeroIndices()
1824 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllConstantIndices()
2552 assert(getNumOperands() == 2 && "NumOperands not initialized?"); in init()
2583 assert(getNumOperands() == 1 && "NumOperands not initialized?"); in init()
4350 init(SI.getCondition(), SI.getDefaultDest(), SI.getNumOperands()); in SwitchInst()
4351 setNumHungOffUseOperands(SI.getNumOperands()); in SwitchInst()
4354 for (unsigned i = 2, E = SI.getNumOperands(); i != E; i += 2) { in SwitchInst()
4365 unsigned OpNo = getNumOperands(); in addCase()
4381 assert(2 + idx*2 < getNumOperands() && "Case index out of range!!!"); in removeCase()
4383 unsigned NumOps = getNumOperands(); in removeCase()
4404 unsigned e = getNumOperands(); in growOperands()
4442 if (ProfileData->getNumOperands() != SI.getNumSuccessors() + 1) { in init()
4526 if (ProfileData->getNumOperands() == SI.getNumSuccessors() + 1) in getSuccessorWeight()
4553 unsigned e = getNumOperands(); in growOperands()
4576 nullptr, IBI.getNumOperands()) { in IndirectBrInst()
4577 allocHungoffUses(IBI.getNumOperands()); in IndirectBrInst()
4580 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
4588 unsigned OpNo = getNumOperands(); in addDestination()
4600 assert(idx < getNumOperands()-1 && "Successor index out of range!"); in removeDestination()
4602 unsigned NumOps = getNumOperands(); in removeDestination()
4637 return new (getNumOperands()) GetElementPtrInst(*this); in cloneImpl()
4759 return new(getNumOperands(), DescriptorBytes) CallInst(*this); in cloneImpl()
4761 return new(getNumOperands()) CallInst(*this); in cloneImpl()
4791 return new(getNumOperands()) ReturnInst(*this); in cloneImpl()
4795 return new(getNumOperands()) BranchInst(*this); in cloneImpl()
4807 return new(getNumOperands(), DescriptorBytes) InvokeInst(*this); in cloneImpl()
4809 return new(getNumOperands()) InvokeInst(*this); in cloneImpl()
4815 return new (getNumOperands(), DescriptorBytes) CallBrInst(*this); in cloneImpl()
4817 return new (getNumOperands()) CallBrInst(*this); in cloneImpl()
4823 return new (getNumOperands()) CleanupReturnInst(*this); in cloneImpl()
4827 return new (getNumOperands()) CatchReturnInst(*this); in cloneImpl()
4835 return new (getNumOperands()) FuncletPadInst(*this); in cloneImpl()