| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86InstComments.cpp | 287 unsigned NumOperands = MI->getNumOperands(); in printFMAComments() local 643 unsigned NumOperands = MI->getNumOperands(); in EmitAnyX86InstComments() local 662 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 678 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 694 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 708 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 726 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 820 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 838 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 852 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86RegisterBankInfo.cpp | 115 unsigned NumOperands = MI.getNumOperands(); in getInstrPartialMappingIdxs() local 116 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrPartialMappingIdxs() 130 unsigned NumOperands = MI.getNumOperands(); in getInstrValueMapping() local 131 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrValueMapping() 152 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping() local 190 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 201 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 202 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping() 266 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping() 296 unsigned NumOperands = MI.getNumOperands(); in getInstrAlternativeMappings() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | GVNExpression.h | 143 unsigned NumOperands = 0; variable 147 BasicExpression(unsigned NumOperands) in BasicExpression() argument 148 : BasicExpression(NumOperands, ET_Basic) {} in BasicExpression() 150 : Expression(ET), MaxOperands(NumOperands) {} in BasicExpression() 169 assert(N < NumOperands && "Operand out of range"); in getOperand() 175 assert(N < NumOperands && "Operand out of range"); in setOperand() 198 Operands[NumOperands++] = Arg; in op_push_back() 218 return getType() == OE.getType() && NumOperands == OE.NumOperands && in equals() 306 CallExpression(unsigned NumOperands, CallInst *C, in CallExpression() argument 333 LoadExpression(unsigned NumOperands, LoadInst *L, in LoadExpression() argument [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/components/dispatcher/ |
| H A D | dswstate.c | 459 if (WalkState->NumOperands >= ACPI_OBJ_NUM_OPERANDS) in AcpiDsObjStackPush() 463 Object, WalkState, WalkState->NumOperands)); in AcpiDsObjStackPush() 470 WalkState->NumOperands++; in AcpiDsObjStackPush() 478 WalkState, WalkState->NumOperands)); in AcpiDsObjStackPush() 513 if (WalkState->NumOperands == 0) in AcpiDsObjStackPop() 523 WalkState->NumOperands--; in AcpiDsObjStackPop() 524 WalkState->Operands [WalkState->NumOperands] = NULL; in AcpiDsObjStackPop() 528 PopCount, WalkState, WalkState->NumOperands)); in AcpiDsObjStackPop() 567 if (WalkState->NumOperands == 0) in AcpiDsObjStackPopAndDelete() 574 WalkState->NumOperands--; in AcpiDsObjStackPopAndDelete() [all …]
|
| H A D | dsutils.c | 535 for (i = 0; i < WalkState->NumOperands; i++) in AcpiDsResolveOperands() 572 for (i = 0; i < WalkState->NumOperands; i++) in AcpiDsClearOperands() 582 WalkState->NumOperands = 0; in AcpiDsClearOperands() 869 UINT32 Index = WalkState->NumOperands; in AcpiDsCreateOperands() 898 WalkState->NumOperands, ArgCount, Index)); in AcpiDsCreateOperands()
|
| H A D | dswload2.c | 575 WalkState->NumOperands = 1; in AcpiDsLoad2EndOp() 723 for (i = 1; i < WalkState->NumOperands; i++) in AcpiDsLoad2EndOp() 824 WalkState->NumOperands = 1; in AcpiDsLoad2EndOp() 835 WalkState->NumOperands = 0; in AcpiDsLoad2EndOp() 906 WalkState->NumOperands = 0; in AcpiDsLoad2EndOp()
|
| H A D | dsopcode.c | 573 OperandDesc = WalkState->Operands[WalkState->NumOperands - 1]; in AcpiDsEvalRegionOperands() 591 OperandDesc = WalkState->Operands[WalkState->NumOperands - 2]; in AcpiDsEvalRegionOperands() 764 WalkState->OperandIndex = WalkState->NumOperands; in AcpiDsEvalDataObjectOperands() 783 &(WalkState->Operands [WalkState->NumOperands -1]), in AcpiDsEvalDataObjectOperands() 792 ArgDesc = WalkState->Operands [WalkState->NumOperands - 1]; in AcpiDsEvalDataObjectOperands()
|
| H A D | dswexec.c | 531 WalkState->NumOperands = 0; in AcpiDsExecEndOp() 579 &(WalkState->Operands [WalkState->NumOperands -1]), in AcpiDsExecEndOp() 766 WalkState->NumOperands = 1; in AcpiDsExecEndOp() 924 WalkState->NumOperands = 0; in AcpiDsExecEndOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNDPPCombine.cpp | 243 ++NumOperands; in createDPPInst() 248 ++NumOperands; in createDPPInst() 264 ++NumOperands; in createDPPInst() 284 ++NumOperands; in createDPPInst() 287 ++NumOperands; in createDPPInst() 299 ++NumOperands; in createDPPInst() 308 ++NumOperands; in createDPPInst() 311 ++NumOperands; in createDPPInst() 331 ++NumOperands; in createDPPInst() 341 ++NumOperands; in createDPPInst() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | RegisterBankInfo.h | 204 unsigned NumOperands = 0; variable 220 unsigned NumOperands) in InstructionMapping() argument 222 NumOperands(NumOperands) {} in InstructionMapping() 235 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() 529 unsigned NumOperands = 0) const; 536 unsigned NumOperands) const { in getInstructionMapping() argument 538 OperandsMapping, NumOperands); in getInstructionMapping()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 180 unsigned NumOperands = C->getNumOperands(); in remapConstantVectorOrConstantAggregate() local 184 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 201 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 206 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 219 unsigned NumOperands = C->getNumOperands(); in remapConstantExpr() local 223 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantExpr() 262 ArrayRef(&NewOperands[1], NumOperands - 1), "", in remapConstantExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64RegisterBankInfo.cpp | 457 unsigned NumOperands = MI.getNumOperands(); in getSameKindOfOperandsMapping() local 458 assert(NumOperands <= 3 && in getSameKindOfOperandsMapping() 476 for (unsigned Idx = 1; Idx != NumOperands; ++Idx) { in getSameKindOfOperandsMapping() 755 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 758 SmallVector<unsigned, 4> OpSize(NumOperands); in getInstrMapping() 759 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping() 760 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping() 986 Idx < NumOperands; ++Idx) in getInstrMapping() 1052 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 1053 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) in getInstrMapping() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVRegisterBankInfo.cpp | 238 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 273 NumOperands); in getInstrMapping() 286 NumOperands); in getInstrMapping() 299 NumOperands); in getInstrMapping() 303 SmallVector<const ValueMapping *, 4> OpdsMapping(NumOperands); in getInstrMapping() 450 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping() 467 getOperandsMapping(OpdsMapping), NumOperands); in getInstrMapping()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorLoopCarriedReuse.cpp | 341 unsigned NumOperands = I1->getNumOperands(); in isEquivalentOperation() local 342 for (unsigned i = 0; i < NumOperands; ++i) { in isEquivalentOperation() 425 int NumOperands = I->getNumOperands(); in findValueToReuse() local 440 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse() 444 for (int T = 0; T < NumOperands; ++T) { in findValueToReuse() 472 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse() 524 int NumOperands = Inst2Replace->getNumOperands(); in reuseValue() local 535 for (int j = 0; j < NumOperands; ++j) { in reuseValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
| H A D | PPCRegisterBankInfo.cpp | 86 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 103 assert(NumOperands <= 3 && in getInstrMapping() 214 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping() 233 NumOperands); in getInstrMapping() 239 return getInstructionMapping(MappingID, Cost, OperandsMapping, NumOperands); in getInstrMapping()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCInstrDesc.h | 206 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable 221 if (OpNum < NumOperands && in getOperandConstraint() 237 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() 241 return ArrayRef(OpInfo + OpInfoOffset, NumOperands); in operands()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/GISel/ |
| H A D | M68kRegisterBankInfo.cpp | 79 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 104 NumOperands); in getInstrMapping()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | RegisterBankInfo.cpp | 378 unsigned NumOperands) { in hashInstructionMapping() argument 379 return hash_combine(ID, Cost, OperandsMapping, NumOperands); in hashInstructionMapping() 386 unsigned NumOperands) const { in getInstructionMappingImpl() 388 OperandsMapping == nullptr && NumOperands == 0) || in getInstructionMappingImpl() 394 hashInstructionMapping(ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl() 403 ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl() 609 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify() 618 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in verify() 655 for (unsigned OpIdx = 0; OpIdx != NumOperands; ++OpIdx) { in print()
|
| H A D | MachineInstr.cpp | 207 if (&Op >= Operands && &Op < Operands + NumOperands) { in addOperand() 249 if (OpNo != NumOperands) in addOperand() 252 ++NumOperands; in addOperand() 310 if (unsigned N = NumOperands - 1 - OpNo) in removeOperand() 312 --NumOperands; in removeOperand() 750 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands() local 752 return NumOperands; in getNumExplicitOperands() 763 ++NumOperands; in getNumExplicitOperands() 765 return NumOperands; in getNumExplicitOperands() 2507 unsigned NumOperands = getNumOperands(); in insert() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupInstTuning.cpp | 85 unsigned NumOperands = MI.getDesc().getNumOperands(); in processInstruction() local 136 unsigned MaskImm = MI.getOperand(NumOperands - 1).getImm(); in processInstruction() 137 MI.removeOperand(NumOperands - 1); in processInstruction() 138 MI.addOperand(MI.getOperand(NumOperands - 2)); in processInstruction() 151 unsigned MaskImm = MI.getOperand(NumOperands - 1).getImm(); in processInstruction() 152 MI.removeOperand(NumOperands - 1); in processInstruction() 153 MI.addOperand(MI.getOperand(NumOperands - 2)); in processInstruction()
|
| H A D | X86GenRegisterBankInfo.def | 89 unsigned NumOperands) { 92 if (NumOperands <= 3 && (Idx >= PMI_GPR8 && Idx <= PMI_VEC512))
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeBasedAliasAnalysis.cpp | 307 const unsigned NumOperands = Operands.size(); in getField() local 311 if (NumOperands < 6) in getField() 315 if (NumOperands < 2) in getField() 320 if (NumOperands <= 3) { in getField() 322 NumOperands == 2 in getField() 339 for (unsigned Idx = FirstFieldOpNo; Idx < NumOperands; in getField() 352 TheIdx = NumOperands - NumOpsPerField; in getField()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 1535 const int NumOperands = 1557 const int NumOperands = 3877 return new (NumOperands) 3887 int NumOperands = 3900 return new (NumOperands) 3909 int NumOperands = 4014 OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands, 4024 OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands, 4083 return new (NumOperands) 4247 OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands, [all …]
|
| H A D | InlineAsm.h | 306 using NumOperands = Bitfield::Element<unsigned, 3, 13>; variable 323 Bitfield::set<NumOperands>(Storage, NumOps); in Flag() 358 return Bitfield::get<NumOperands>(Storage); in getNumOperandRegisters()
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | CodeGenTarget.h | 220 unsigned NumOperands; variable 229 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|