| /freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86InstComments.cpp | 277 unsigned NumOperands = MI->getNumOperands(); in printMasking() 302 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments() 311 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments() 317 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments() 327 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments() 334 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments() 344 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments() 351 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments() 362 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments() 369 AccName = getRegName(MI->getOperand(NumOperands in printFMAComments() 287 unsigned NumOperands = MI->getNumOperands(); printFMAComments() local 643 unsigned NumOperands = MI->getNumOperands(); EmitAnyX86InstComments() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86RegisterBankInfo.cpp | 226 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() 227 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping() 242 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() 243 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping() 264 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() 267 if (NumOperands != 3 || (Ty != MRI.getType(MI.getOperand(1).getReg())) || in getInstrMapping() 272 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping() 304 unsigned NumOperands = MI.getNumOperands(); in getInstrAlternativeMappings() 308 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrAlternativeMappings() 314 unsigned NumOperands in getInstrAlternativeMappings() 115 unsigned NumOperands = MI.getNumOperands(); getInstrPartialMappingIdxs() local 130 unsigned NumOperands = MI.getNumOperands(); getInstrValueMapping() local 152 unsigned NumOperands = MI.getNumOperands(); getSameOperandsMapping() local 190 unsigned NumOperands = MI.getNumOperands(); getInstrMapping() local 201 unsigned NumOperands = MI.getNumOperands(); getInstrMapping() local 296 unsigned NumOperands = MI.getNumOperands(); getInstrAlternativeMappings() local [all...] |
| /freebsd-src/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() 149 BasicExpression(unsigned NumOperands, ExpressionType ET) in BasicExpression() argument 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() 179 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() 185 op_iterator op_end() { return Operands + NumOperands; } in op_end() 187 const_op_iterator op_end() const { return Operands + NumOperands; } in op_end() [all …]
|
| /freebsd-src/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() 517 PopCount, WalkState, WalkState->NumOperands)); 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 in AcpiDsObjStackPopAndDelete() [all...] |
| 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 | 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() 870 UINT32 PrevNumOperands = WalkState->NumOperands; in AcpiDsCreateOperands() 899 "NumOperands %d, ArgCount %d, Index %d\n", in AcpiDsCreateOperands() 900 WalkState->NumOperands, ArgCount, Index)); in AcpiDsCreateOperands() 932 WalkState->NumOperands = (UINT8) (i); in AcpiDsCreateOperands() 936 WalkState->NumOperands = (UINT8) (PrevNumOperands);
|
| 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() 581 &(WalkState->Operands [WalkState->NumOperands -1]), in AcpiDsExecEndOp() 768 WalkState->NumOperands = 1; in AcpiDsExecEndOp() 926 WalkState->NumOperands = 0; in AcpiDsExecEndOp()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNDPPCombine.cpp | 241 int NumOperands = 0; in createDPPInst() 244 ++NumOperands; in createDPPInst() 247 if (TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, SDst)) { in createDPPInst() 249 ++NumOperands; in createDPPInst() 256 assert(OldIdx == NumOperands); in createDPPInst() 265 ++NumOperands; in createDPPInst() 280 assert(NumOperands == AMDGPU::getNamedOperandIdx(DPPOp, in createDPPInst() 285 ++NumOperands; in createDPPInst() 288 ++NumOperands; in createDPPInst() 292 int Src0Idx = NumOperands; in createDPPInst() 240 int NumOperands = 0; createDPPInst() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | RegisterBankInfo.h | 204 unsigned NumOperands = 0; variable 213 /// \p NumOperands must be equal to number of all the operands of 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-src/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() 254 ArrayRef(&NewOperands[1], NumOperands - 1), "", in remapConstantExpr()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64RegisterBankInfo.cpp | 320 /*NumOperands*/ 3); in getInstrAlternativeMappings() 323 /*NumOperands*/ 3); in getInstrAlternativeMappings() 343 /*NumOperands*/ 2); in getInstrAlternativeMappings() 347 /*NumOperands*/ 2); in getInstrAlternativeMappings() 354 /*NumOperands*/ 2); in getInstrAlternativeMappings() 361 /*NumOperands*/ 2); in getInstrAlternativeMappings() 386 /*NumOperands*/ 2); in getInstrAlternativeMappings() 393 /*NumOperands*/ 2); in getInstrAlternativeMappings() 439 unsigned NumOperands = MI.getNumOperands(); in isPreISelGenericFloatingPointOpcode() 440 assert(NumOperands < in isPreISelGenericFloatingPointOpcode() 457 unsigned NumOperands = MI.getNumOperands(); getSameKindOfOperandsMapping() local 755 unsigned NumOperands = MI.getNumOperands(); getInstrMapping() local 985 for (unsigned Idx = 0, NumOperands = MI.getNumOperands(); getInstrMapping() local 1052 unsigned NumOperands = MI.getNumOperands(); getInstrMapping() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVRegisterBankInfo.cpp | 267 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() 317 for (unsigned Idx = 1; Idx != NumOperands; ++Idx) { in getInstrMapping() 327 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping() 332 NumOperands); in getInstrMapping() 349 NumOperands); in getInstrMapping() 353 SmallVector<const ValueMapping *, 4> OpdsMapping(NumOperands); in getInstrMapping() 510 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { 530 getOperandsMapping(OpdsMapping), NumOperands); 238 unsigned NumOperands = MI.getNumOperands(); getInstrMapping() local
|
| /freebsd-src/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-src/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
| H A D | PPCRegisterBankInfo.cpp | 87 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() 104 assert(NumOperands <= 3 && in getInstrMapping() 215 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping() 234 NumOperands); in getInstrMapping() 240 return getInstructionMapping(MappingID, Cost, OperandsMapping, NumOperands); in getInstrMapping() 86 unsigned NumOperands = MI.getNumOperands(); getInstrMapping() local
|
| /freebsd-src/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-src/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-src/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() 610 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify() 611 "NumOperands must match, see constructor"); in verify() 619 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in verify() 656 for (unsigned OpIdx = 0; OpIdx != NumOperands; in print() [all...] |
| H A D | MachineInstr.cpp | 100 : MCID(&TID), NumOperands(0), Flags(0), AsmPrinterFlags(0), in MachineInstr() 119 : MCID(&MI.getDesc()), NumOperands(0), Flags(0), AsmPrinterFlags(0), in MachineInstr() 205 assert(isUInt<LLVM_MI_NUMOPERANDS_BITS>(NumOperands + 1) && in addOperand() 210 if (&Op >= Operands && &Op < Operands + NumOperands) { in addOperand() 252 if (OpNo != NumOperands) in addOperand() 253 moveOperands(Operands + OpNo + 1, OldOperands + OpNo, NumOperands - OpNo, in addOperand() 255 ++NumOperands; in addOperand() 313 if (unsigned N = NumOperands - 1 - OpNo) in removeOperand() 315 --NumOperands; in setExtraInfo() 791 unsigned NumOperands 750 unsigned NumOperands = MCID->getNumOperands(); getNumExplicitOperands() local 2507 unsigned NumOperands = getNumOperands(); insert() local [all...] |
| /freebsd-src/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 | 102 unsigned NumOperands) { 105 if (NumOperands <= 3 && (Idx >= PMI_GPR8 && Idx <= PMI_PSR80))
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeBasedAliasAnalysis.cpp | 308 const unsigned NumOperands = Operands.size(); in getField() 312 if (NumOperands < 6) in getField() 316 if (NumOperands < 2) in getField() 321 if (NumOperands <= 3) { in getField() 323 NumOperands == 2 in getField() 340 for (unsigned Idx = FirstFieldOpNo; Idx < NumOperands; in getField() 353 TheIdx = NumOperands - NumOpsPerField; in getField() 307 const unsigned NumOperands = Operands.size(); getField() local
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 1447 const int NumOperands = 1451 return new (NumOperands, DescriptorBytes) 2506 /// The number of operands actually allocated. NumOperands is 2747 /// The number of operands actually allocated. NumOperands is 3587 ArrayRef<OperandBundleDef> Bundles, int NumOperands, 3612 int NumOperands = ComputeNumOperands(Args.size()); 3613 return new (NumOperands) 3615 NumOperands, NameStr, InsertBefore); 3623 int NumOperands = 3627 return new (NumOperands, DescriptorByte [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-src/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | CodeGenTarget.h | |