Lines Matching refs:getNumOperands

88     : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()),  in PHINode()
89 ReservedSpace(PN.getNumOperands()) { in PHINode()
90 allocHungoffUses(PN.getNumOperands()); in PHINode()
111 setNumHungOffUseOperands(getNumOperands() - 1); in removeIncomingValue()
114 if (getNumOperands() == 0 && DeletePHIIfEmpty) { in removeIncomingValue()
127 unsigned e = getNumOperands(); in growOperands()
170 LP.getNumOperands()), in LandingPadInst()
171 ReservedSpace(LP.getNumOperands()) { in LandingPadInst()
172 allocHungoffUses(LP.getNumOperands()); in LandingPadInst()
204 unsigned e = getNumOperands(); in growOperands()
211 unsigned OpNo = getNumOperands(); in addClause()
214 setNumHungOffUseOperands(getNumOperands() + 1); in addClause()
228 assert(getNumOperands() == Args.size() + 1 && "NumOperands not set up?"); in init()
249 assert(getNumOperands() == 1 && "NumOperands not set up?"); in init()
279 OperandTraits<CallInst>::op_end(this) - CI.getNumOperands(), in CallInst()
280 CI.getNumOperands()), in CallInst()
502 assert(getNumOperands() == 3 + Args.size() && "NumOperands not set up?"); in init()
525 II.getNumOperands(), in InvokeInst()
526 II.getNumOperands()), in InvokeInst()
596 RI.getNumOperands(), in ReturnInst()
597 RI.getNumOperands()) { in ReturnInst()
598 if (RI.getNumOperands()) in ReturnInst()
753 OperandTraits<BranchInst>::op_end(this) - BI.getNumOperands(), in BranchInst()
754 BI.getNumOperands()) { in BranchInst()
756 if (BI.getNumOperands() != 1) { in BranchInst()
757 assert(BI.getNumOperands() == 3 && "BR can have 1 or 3 operands!"); in BranchInst()
772 if (!ProfileData || ProfileData->getNumOperands() != 3) in swapSuccessors()
1198 assert(getNumOperands() == 1 + IdxList.size() && in init()
1208 GEPI.getNumOperands(), in GetElementPtrInst()
1209 GEPI.getNumOperands()), in GetElementPtrInst()
1264 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllZeroIndices()
1278 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllConstantIndices()
1512 assert(getNumOperands() == 2 && "NumOperands not initialized?"); in init()
1543 assert(getNumOperands() == 1 && "NumOperands not initialized?"); in init()
3288 init(SI.getCondition(), SI.getDefaultDest(), SI.getNumOperands()); in SwitchInst()
3289 setNumHungOffUseOperands(SI.getNumOperands()); in SwitchInst()
3292 for (unsigned i = 2, E = SI.getNumOperands(); i != E; i += 2) { in SwitchInst()
3304 unsigned OpNo = getNumOperands(); in addCase()
3320 assert(2 + idx*2 < getNumOperands() && "Case index out of range!!!"); in removeCase()
3322 unsigned NumOps = getNumOperands(); in removeCase()
3341 unsigned e = getNumOperands(); in growOperands()
3378 unsigned e = getNumOperands(); in growOperands()
3401 nullptr, IBI.getNumOperands()) { in IndirectBrInst()
3402 allocHungoffUses(IBI.getNumOperands()); in IndirectBrInst()
3405 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
3413 unsigned OpNo = getNumOperands(); in addDestination()
3425 assert(idx < getNumOperands()-1 && "Successor index out of range!"); in removeDestination()
3427 unsigned NumOps = getNumOperands(); in removeDestination()
3456 return new (getNumOperands()) GetElementPtrInst(*this); in cloneImpl()
3572 return new(getNumOperands()) CallInst(*this); in cloneImpl()
3602 return new(getNumOperands()) ReturnInst(*this); in cloneImpl()
3606 return new(getNumOperands()) BranchInst(*this); in cloneImpl()
3616 return new(getNumOperands()) InvokeInst(*this); in cloneImpl()