• Home
  • Raw
  • Download

Lines Matching refs:getNumOperands

93     : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()),  in PHINode()
94 ReservedSpace(PN.getNumOperands()) { in PHINode()
95 allocHungoffUses(PN.getNumOperands()); in PHINode()
116 setNumHungOffUseOperands(getNumOperands() - 1); in removeIncomingValue()
119 if (getNumOperands() == 0 && DeletePHIIfEmpty) { in removeIncomingValue()
132 unsigned e = getNumOperands(); in growOperands()
193 LP.getNumOperands()), in LandingPadInst()
194 ReservedSpace(LP.getNumOperands()) { in LandingPadInst()
195 allocHungoffUses(LP.getNumOperands()); in LandingPadInst()
227 unsigned e = getNumOperands(); in growOperands()
234 unsigned OpNo = getNumOperands(); in addClause()
237 setNumHungOffUseOperands(getNumOperands() + 1); in addClause()
251 assert(getNumOperands() == Args.size() + CountBundleInputs(Bundles) + 1 && in init()
278 assert(getNumOperands() == 1 && "NumOperands not set up?"); in init()
308 OperandTraits<CallInst>::op_end(this) - CI.getNumOperands(), in CallInst()
309 CI.getNumOperands()), in CallInst()
420 assert(i < getNumOperands() && "Data operand index out of bounds!"); in dataOperandHasImpliedAttr()
641 assert(getNumOperands() == 3 + Args.size() + CountBundleInputs(Bundles) && in init()
670 II.getNumOperands(), in InvokeInst()
671 II.getNumOperands()), in InvokeInst()
731 assert(i < (getNumOperands() - 2) && "Data operand index out of bounds!"); in dataOperandHasImpliedAttr()
809 RI.getNumOperands(), in ReturnInst()
810 RI.getNumOperands()) { in ReturnInst()
811 if (RI.getNumOperands()) in ReturnInst()
893 CRI.getNumOperands(), in CleanupReturnInst()
894 CRI.getNumOperands()) { in CleanupReturnInst()
1012 CSI.getNumOperands()) { in CatchSwitchInst()
1013 init(CSI.getParentPad(), CSI.getUnwindDest(), CSI.getNumOperands()); in CatchSwitchInst()
1039 unsigned NumOperands = getNumOperands(); in growOperands()
1048 unsigned OpNo = getNumOperands(); in addHandler()
1051 setNumHungOffUseOperands(getNumOperands() + 1); in addHandler()
1063 setNumHungOffUseOperands(getNumOperands() - 1); in removeHandler()
1081 assert(getNumOperands() == 1 + Args.size() && "NumOperands not set up?"); in init()
1090 FPI.getNumOperands(), in FuncletPadInst()
1091 FPI.getNumOperands()) { in FuncletPadInst()
1194 OperandTraits<BranchInst>::op_end(this) - BI.getNumOperands(), in BranchInst()
1195 BI.getNumOperands()) { in BranchInst()
1197 if (BI.getNumOperands() != 1) { in BranchInst()
1198 assert(BI.getNumOperands() == 3 && "BR can have 1 or 3 operands!"); in BranchInst()
1213 if (!ProfileData || ProfileData->getNumOperands() != 3) in swapSuccessors()
1643 assert(getNumOperands() == 1 + IdxList.size() && in init()
1653 GEPI.getNumOperands(), in GetElementPtrInst()
1654 GEPI.getNumOperands()), in GetElementPtrInst()
1709 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllZeroIndices()
1723 for (unsigned i = 1, e = getNumOperands(); i != e; ++i) { in hasAllConstantIndices()
1957 assert(getNumOperands() == 2 && "NumOperands not initialized?"); in init()
1988 assert(getNumOperands() == 1 && "NumOperands not initialized?"); in init()
3723 init(SI.getCondition(), SI.getDefaultDest(), SI.getNumOperands()); in SwitchInst()
3724 setNumHungOffUseOperands(SI.getNumOperands()); in SwitchInst()
3727 for (unsigned i = 2, E = SI.getNumOperands(); i != E; i += 2) { in SwitchInst()
3739 unsigned OpNo = getNumOperands(); in addCase()
3755 assert(2 + idx*2 < getNumOperands() && "Case index out of range!!!"); in removeCase()
3757 unsigned NumOps = getNumOperands(); in removeCase()
3776 unsigned e = getNumOperands(); in growOperands()
3813 unsigned e = getNumOperands(); in growOperands()
3836 nullptr, IBI.getNumOperands()) { in IndirectBrInst()
3837 allocHungoffUses(IBI.getNumOperands()); in IndirectBrInst()
3840 for (unsigned i = 0, E = IBI.getNumOperands(); i != E; ++i) in IndirectBrInst()
3848 unsigned OpNo = getNumOperands(); in addDestination()
3860 assert(idx < getNumOperands()-1 && "Successor index out of range!"); in removeDestination()
3862 unsigned NumOps = getNumOperands(); in removeDestination()
3891 return new (getNumOperands()) GetElementPtrInst(*this); in cloneImpl()
4010 return new(getNumOperands(), DescriptorBytes) CallInst(*this); in cloneImpl()
4012 return new(getNumOperands()) CallInst(*this); in cloneImpl()
4042 return new(getNumOperands()) ReturnInst(*this); in cloneImpl()
4046 return new(getNumOperands()) BranchInst(*this); in cloneImpl()
4058 return new(getNumOperands(), DescriptorBytes) InvokeInst(*this); in cloneImpl()
4060 return new(getNumOperands()) InvokeInst(*this); in cloneImpl()
4066 return new (getNumOperands()) CleanupReturnInst(*this); in cloneImpl()
4070 return new (getNumOperands()) CatchReturnInst(*this); in cloneImpl()
4078 return new (getNumOperands()) FuncletPadInst(*this); in cloneImpl()