| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | User.h | 74 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() argument 76 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in User() 77 NumUserOperands = NumOps; in User() 208 void setGlobalVariableNumOperands(unsigned NumOps) { in setGlobalVariableNumOperands() argument 209 assert(NumOps <= 1 && "GlobalVariable can only have 0 or 1 operands"); in setGlobalVariableNumOperands() 210 NumUserOperands = NumOps; in setGlobalVariableNumOperands() 216 void setNumHungOffUseOperands(unsigned NumOps) { in setNumHungOffUseOperands() argument 218 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in setNumHungOffUseOperands() 219 NumUserOperands = NumOps; in setNumHungOffUseOperands()
|
| H A D | DerivedUser.h | 38 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, in DerivedUser() argument 40 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {} in DerivedUser()
|
| H A D | Constant.h | 44 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument 45 : User(ty, vty, Ops, NumOps) {} in Constant()
|
| H A D | InlineAsm.h | 269 static unsigned getFlagWord(unsigned Kind, unsigned NumOps) { in getFlagWord() argument 270 assert(((NumOps << 3) & ~0xffff) == 0 && "Too many inline asm operands!"); in getFlagWord() 272 return Kind | (NumOps << 3); in getFlagWord()
|
| H A D | GlobalObject.h | 32 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, 35 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace), in GlobalValue() argument
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsMCTargetDesc.cpp | 141 unsigned NumOps = Inst.getNumOperands(); in evaluateBranch() local 142 if (NumOps == 0) in evaluateBranch() 144 switch (Info->get(Inst.getOpcode()).OpInfo[NumOps - 1].OperandType) { in evaluateBranch() 148 Target = Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch() 152 Target = Addr + Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | MachineRegisterInfo.cpp | 232 unsigned NumOps = MI->getNumOperands(); in verifyUseList() local 233 if (!(MO >= MO0 && MO < MO0+NumOps)) { in verifyUseList() 336 unsigned NumOps) { in moveOperands() argument 337 assert(Src != Dst && NumOps && "Noop moveOperands"); in moveOperands() 341 if (Dst >= Src && Dst < Src + NumOps) { in moveOperands() 343 Dst += NumOps - 1; in moveOperands() 344 Src += NumOps - 1; in moveOperands() 373 } while (--NumOps); in moveOperands()
|
| H A D | CallingConvLower.cpp | 140 unsigned NumOps = Outs.size(); in AnalyzeCallOperands() local 141 for (unsigned i = 0; i != NumOps; ++i) { in AnalyzeCallOperands() 158 unsigned NumOps = ArgVTs.size(); in AnalyzeCallOperands() local 159 for (unsigned i = 0; i != NumOps; ++i) { in AnalyzeCallOperands()
|
| H A D | MachineInstr.cpp | 122 if (unsigned NumOps = MCID->getNumOperands() + in MachineInstr() local 124 CapOperands = OperandCapacity::get(NumOps); in MachineInstr() 187 unsigned NumOps, MachineRegisterInfo *MRI) { in moveOperands() argument 189 return MRI->moveOperands(Dst, Src, NumOps); in moveOperands() 192 std::memmove(Dst, Src, NumOps * sizeof(MachineOperand)); in moveOperands() 782 unsigned NumOps; in findInlineAsmFlagIdx() local 784 i += NumOps) { in findInlineAsmFlagIdx() 790 if (i + NumOps > OpIdx) { in findInlineAsmFlagIdx() 1087 unsigned NumOps; in findTiedOperandIdx() local 1089 i += NumOps) { in findTiedOperandIdx() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/ |
| H A D | SparcISelDAGToDAG.cpp | 161 unsigned NumOps = N->getNumOperands(); in tryInlineAsm() local 172 SDValue Glue = N->getGluedNode() ? N->getOperand(NumOps-1) in tryInlineAsm() 177 for(unsigned i = 0, e = N->getGluedNode() ? NumOps - 1 : NumOps; i < e; ++i) { in tryInlineAsm() 222 assert((i+2 < NumOps) && "Invalid number of operands in inline asm"); in tryInlineAsm()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | Thumb2SizeReduction.cpp | 808 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local 809 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceTo2Addr() 810 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceTo2Addr() 830 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local 832 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceTo2Addr() 900 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local 901 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceToNarrow() 902 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceToNarrow() 937 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local 939 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceToNarrow() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86BaseInfo.h | 660 unsigned NumOps = Desc.getNumOperands(); in getOperandBias() local 667 if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0) in getOperandBias() 671 if (NumOps == 8 && in getOperandBias() 677 if (NumOps >= 4 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias() 682 if (NumOps == 9 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias()
|
| H A D | X86MCCodeEmitter.cpp | 737 unsigned NumOps = Desc.getNumOperands(); in EmitVEXOpcodePrefix() local 881 unsigned RcOperand = NumOps-1; in EmitVEXOpcodePrefix() 1042 unsigned NumOps = MI.getNumOperands(); in DetermineREXPrefix() local 1046 for (unsigned i = CurOp; i != NumOps; ++i) { in DetermineREXPrefix() 1205 unsigned NumOps = Desc.getNumOperands(); in encodeInstruction() local 1410 --NumOps; in encodeInstruction() 1548 if (CurOp != NumOps) { in encodeInstruction() 1559 while (CurOp != NumOps && NumOps - CurOp <= 2) { in encodeInstruction() 1571 if (/*!Desc.isVariadic() &&*/ CurOp != NumOps) { in encodeInstruction()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | ScheduleDAGFast.cpp | 485 unsigned NumOps = Node->getNumOperands(); in DelayForLiveRegsBottomUp() local 486 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue) in DelayForLiveRegsBottomUp() 487 --NumOps; // Ignore the glue operand. in DelayForLiveRegsBottomUp() 489 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in DelayForLiveRegsBottomUp() 673 unsigned NumOps = N->getNumOperands(); in ScheduleNode() local 674 if (unsigned NumLeft = NumOps) { in ScheduleNode() 680 if (NumLeft == NumOps && Op.getValueType() == MVT::Glue) { in ScheduleNode()
|
| H A D | InstrEmitter.cpp | 654 unsigned NumOps = Node->getNumOperands(); in EmitRegSequence() local 658 if (NumOps && Node->getOperand(NumOps-1).getValueType() == MVT::Other) in EmitRegSequence() 659 --NumOps; // Ignore chain if it exists. in EmitRegSequence() 661 assert((NumOps & 1) == 1 && in EmitRegSequence() 663 for (unsigned i = 1; i != NumOps; ++i) { in EmitRegSequence() 1053 unsigned NumOps = Node->getNumOperands(); in EmitSpecialNode() local 1054 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue) in EmitSpecialNode() 1055 --NumOps; // Ignore the glue operand. in EmitSpecialNode() 1080 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in EmitSpecialNode()
|
| H A D | LegalizeTypes.cpp | 458 for (unsigned i = 0, NumOps = Node.getNumOperands(); i < NumOps; ++i) in run() local 1006 unsigned NumOps = N->getNumOperands(); in LibCallify() local 1008 if (NumOps == 0) { in LibCallify() 1011 } else if (NumOps == 1) { in LibCallify() 1015 } else if (NumOps == 2) { in LibCallify() 1020 SmallVector<SDValue, 8> Ops(NumOps); in LibCallify() 1021 for (unsigned i = 0; i < NumOps; ++i) in LibCallify()
|
| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | DAGISelMatcherEmitter.cpp | 414 unsigned NumOps = cast<CheckPredicateMatcher>(N)->getNumOperands(); in EmitMatcher() local 415 OS << "OPC_CheckPredicateWithOperands, " << NumOps << "/*#Ops*/, "; in EmitMatcher() 416 for (unsigned i = 0; i < NumOps; ++i) in EmitMatcher() 418 OperandBytes = 1 + NumOps; in EmitMatcher() 876 unsigned NumOps = P.getNumOperands(); in EmitPredicateFunctions() local 879 ++NumOps; // Get the chained node too. in EmitPredicateFunctions() 884 OS << " Result.resize(NextRes+" << NumOps << ");\n"; in EmitPredicateFunctions() 902 for (unsigned i = 0; i != NumOps; ++i) in EmitPredicateFunctions()
|
| H A D | CodeGenInstruction.cpp | 74 unsigned NumOps = 1; in CGIOperandList() local 98 NumOps = NumArgs; in CGIOperandList() 124 NumOps, MIOpInfo); in CGIOperandList() 125 MIOperandNo += NumOps; in CGIOperandList()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86FloatingPoint.cpp | 1108 unsigned NumOps = MI.getDesc().getNumOperands(); in handleOneArgFP() local 1109 assert((NumOps == X86::AddrNumOperands + 1 || NumOps == 1) && in handleOneArgFP() 1113 unsigned Reg = getFPReg(MI.getOperand(NumOps - 1)); in handleOneArgFP() 1141 MI.RemoveOperand(NumOps - 1); // Remove explicit ST(0) operand in handleOneArgFP() 1167 unsigned NumOps = MI.getDesc().getNumOperands(); in handleOneArgFPRW() local 1168 assert(NumOps >= 2 && "FPRW instructions must have 2 ops!!"); in handleOneArgFPRW() 1513 unsigned NumOps = 0; in handleSpecialFP() local 1518 i != e && MI.getOperand(i).isImm(); i += 1 + NumOps) { in handleSpecialFP() 1521 NumOps = InlineAsm::getNumOperandRegisters(Flags); in handleSpecialFP() 1522 if (NumOps != 1) in handleSpecialFP()
|
| H A D | X86CallFrameOptimization.cpp | 556 unsigned NumOps = DefMov->getDesc().getNumOperands(); in adjustCallSequence() local 557 for (unsigned i = NumOps - X86::AddrNumOperands; i != NumOps; ++i) in adjustCallSequence()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenPredicate.cpp | 371 unsigned NumOps = MI->getNumOperands(); in convertToPredForm() local 372 for (unsigned i = 0; i < NumOps; ++i) { in convertToPredForm() 408 NumOps = 2; in convertToPredForm() 424 for (unsigned i = 1; i < NumOps; ++i) { in convertToPredForm()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/InstPrinter/ |
| H A D | AMDGPUInstPrinter.cpp | 816 static bool allOpsDefaultValue(const int* Ops, int NumOps, int Mod, in allOpsDefaultValue() argument 820 for (int I = 0; I < NumOps; ++I) { in allOpsDefaultValue() 836 int NumOps = 0; in printPackedModifier() local 846 Ops[NumOps++] = MI->getOperand(Idx).getImm(); in printPackedModifier() 850 NumOps > 0 && in printPackedModifier() 857 if (allOpsDefaultValue(Ops, NumOps, Mod, IsPacked, HasDstSel)) in printPackedModifier() 861 for (int I = 0; I < NumOps; ++I) { in printPackedModifier()
|
| /freebsd-12.1/sys/contrib/dev/acpica/components/debugger/ |
| H A D | dbdisply.c | 533 UINT32 NumOps = 0; in AcpiDbDisplayMethodInfo() local 573 NumOps++; in AcpiDbDisplayMethodInfo() 616 NumOps, NumOperators, NumOperands); in AcpiDbDisplayMethodInfo()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 146 unsigned NumOps = e + e / 2; in growOperands() local 147 if (NumOps < 2) NumOps = 2; // 2 op PHI nodes are VERY common. in growOperands() 149 ReservedSpace = NumOps; in growOperands() 3699 OL[NumOps-2].set(nullptr); in removeCase() 3700 OL[NumOps-2+1].set(nullptr); in removeCase() 3711 unsigned NumOps = e*3; in growOperands() local 3713 ReservedSpace = NumOps; in growOperands() 3737 unsigned NumOps = e*2; in growOperands() local 3739 ReservedSpace = NumOps; in growOperands() 3789 OL[idx+1] = OL[NumOps-1]; in removeDestination() [all …]
|
| H A D | Instruction.cpp | 24 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() argument 26 : User(ty, Value::InstructionVal + it, Ops, NumOps), Parent(nullptr) { in Instruction() 36 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() argument 38 : User(ty, Value::InstructionVal + it, Ops, NumOps), Parent(nullptr) { in Instruction()
|