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()
487 assert(getNumOperands() == Args.size() + CountBundleInputs(Bundles) + 1 && in init()
515 assert(getNumOperands() == 1 && "NumOperands not set up?"); in init()
539 OperandTraits<CallBase>::op_end(this) - CI.getNumOperands(), in CallInst()
540 CI.getNumOperands()) { in CallInst()
591 ProfileData->getNumOperands() > 0) { in updateProfWeight()
601 for (unsigned i = 1; i < ProfileData->getNumOperands(); i += 2) { in updateProfWeight()
830 assert((int)getNumOperands() == in init()
861 OperandTraits<CallBase>::op_end(this) - II.getNumOperands(), in InvokeInst()
862 II.getNumOperands()) { in InvokeInst()
899 assert((int)getNumOperands() == in init()
944 OperandTraits<CallBase>::op_end(this) - CBI.getNumOperands(), in CallBrInst()
945 CBI.getNumOperands()) { in CallBrInst()
975 OperandTraits<ReturnInst>::op_end(this) - RI.getNumOperands(), in ReturnInst()
976 RI.getNumOperands()) { in ReturnInst()
977 if (RI.getNumOperands()) in ReturnInst()
1031 CRI.getNumOperands(), in CleanupReturnInst()
1032 CRI.getNumOperands()) { in CleanupReturnInst()
1127 CSI.getNumOperands()) { in CatchSwitchInst()
1128 init(CSI.getParentPad(), CSI.getUnwindDest(), CSI.getNumOperands()); in CatchSwitchInst()
1154 unsigned NumOperands = getNumOperands(); in growOperands()
1163 unsigned OpNo = getNumOperands(); in addHandler()
1166 setNumHungOffUseOperands(getNumOperands() + 1); in addHandler()
1178 setNumHungOffUseOperands(getNumOperands() - 1); in removeHandler()
1186 assert(getNumOperands() == 1 + Args.size() && "NumOperands not set up?"); in init()
1195 FPI.getNumOperands(), in FuncletPadInst()
1196 FPI.getNumOperands()) { in FuncletPadInst()
1285 OperandTraits<BranchInst>::op_end(this) - BI.getNumOperands(), in BranchInst()
1286 BI.getNumOperands()) { in BranchInst()
1288 if (BI.getNumOperands() != 1) { in BranchInst()
1289 assert(BI.getNumOperands() == 3 && "BR can have 1 or 3 operands!"); in BranchInst()
1704 assert(getNumOperands() == 1 + IdxList.size() && in init()
1714 GEPI.getNumOperands(), in GetElementPtrInst()
1715 GEPI.getNumOperands()), in GetElementPtrInst()
1779 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllZeroIndices()
1793 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllConstantIndices()
2335 assert(getNumOperands() == 2 && "NumOperands not initialized?"); in init()
2366 assert(getNumOperands() == 1 && "NumOperands not initialized?"); in init()
4061 init(SI.getCondition(), SI.getDefaultDest(), SI.getNumOperands()); in SwitchInst()
4062 setNumHungOffUseOperands(SI.getNumOperands()); in SwitchInst()
4065 for (unsigned i = 2, E = SI.getNumOperands(); i != E; i += 2) { in SwitchInst()
4076 unsigned OpNo = getNumOperands(); in addCase()
4092 assert(2 + idx*2 < getNumOperands() && "Case index out of range!!!"); in removeCase()
4094 unsigned NumOps = getNumOperands(); in removeCase()
4115 unsigned e = getNumOperands(); in growOperands()
4154 if (ProfileData->getNumOperands() != SI.getNumSuccessors() + 1) { in init()
4238 if (ProfileData->getNumOperands() == SI.getNumSuccessors() + 1) in getSuccessorWeight()
4265 unsigned e = getNumOperands(); in growOperands()
4288 nullptr, IBI.getNumOperands()) { in IndirectBrInst()
4289 allocHungoffUses(IBI.getNumOperands()); in IndirectBrInst()
4292 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
4300 unsigned OpNo = getNumOperands(); in addDestination()
4312 assert(idx < getNumOperands()-1 && "Successor index out of range!"); in removeDestination()
4314 unsigned NumOps = getNumOperands(); in removeDestination()
4349 return new (getNumOperands()) GetElementPtrInst(*this); in cloneImpl()
4471 return new(getNumOperands(), DescriptorBytes) CallInst(*this); in cloneImpl()
4473 return new(getNumOperands()) CallInst(*this); in cloneImpl()
4503 return new(getNumOperands()) ReturnInst(*this); in cloneImpl()
4507 return new(getNumOperands()) BranchInst(*this); in cloneImpl()
4519 return new(getNumOperands(), DescriptorBytes) InvokeInst(*this); in cloneImpl()
4521 return new(getNumOperands()) InvokeInst(*this); in cloneImpl()
4527 return new (getNumOperands(), DescriptorBytes) CallBrInst(*this); in cloneImpl()
4529 return new (getNumOperands()) CallBrInst(*this); in cloneImpl()
4535 return new (getNumOperands()) CleanupReturnInst(*this); in cloneImpl()
4539 return new (getNumOperands()) CatchReturnInst(*this); in cloneImpl()
4547 return new (getNumOperands()) FuncletPadInst(*this); in cloneImpl()