Home
last modified time | relevance | path

Searched refs:NumOperands (Results 1 – 25 of 90) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstComments.cpp287 unsigned NumOperands = MI->getNumOperands(); in printFMAComments() local
312 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
321 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
327 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
337 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
344 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
354 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
361 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
372 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
379 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp115 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()
150 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping() local
153 if (NumOperands != 3 || (Ty != MRI.getType(MI.getOperand(1).getReg())) || in getSameOperandsMapping()
158 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping()
188 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
192 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping()
199 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
[all …]
H A DX86GenRegisterBankInfo.def89 unsigned NumOperands) {
92 if (NumOperands <= 3 && (Idx >= PMI_GPR8 && Idx <= PMI_VEC512))
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h143 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 …]
/netbsd-src/sys/external/bsd/acpica/dist/dispatcher/
H A Ddswstate.c351 if (WalkState->NumOperands >= ACPI_OBJ_NUM_OPERANDS) in AcpiDsObjStackPush()
355 Object, WalkState, WalkState->NumOperands)); in AcpiDsObjStackPush()
362 WalkState->NumOperands++; in AcpiDsObjStackPush()
370 WalkState, WalkState->NumOperands)); in AcpiDsObjStackPush()
405 if (WalkState->NumOperands == 0) in AcpiDsObjStackPop()
409 PopCount, WalkState, WalkState->NumOperands)); in AcpiDsObjStackPop()
415 WalkState->NumOperands--; in AcpiDsObjStackPop()
416 WalkState->Operands [WalkState->NumOperands] = NULL; in AcpiDsObjStackPop()
420 PopCount, WalkState, WalkState->NumOperands)); in AcpiDsObjStackPop()
459 if (WalkState->NumOperands == 0) in AcpiDsObjStackPopAndDelete()
[all …]
H A Ddswload2.c467 WalkState->NumOperands = 1; in AcpiDsLoad2EndOp()
615 for (i = 1; i < WalkState->NumOperands; i++) in AcpiDsLoad2EndOp()
716 WalkState->NumOperands = 1; in AcpiDsLoad2EndOp()
727 WalkState->NumOperands = 0; in AcpiDsLoad2EndOp()
798 WalkState->NumOperands = 0; in AcpiDsLoad2EndOp()
H A Ddsutils.c427 for (i = 0; i < WalkState->NumOperands; i++) in AcpiDsResolveOperands()
464 for (i = 0; i < WalkState->NumOperands; i++) in AcpiDsClearOperands()
474 WalkState->NumOperands = 0; in AcpiDsClearOperands()
761 UINT32 Index = WalkState->NumOperands; in AcpiDsCreateOperands()
790 WalkState->NumOperands, ArgCount, Index)); in AcpiDsCreateOperands()
H A Ddsopcode.c465 OperandDesc = WalkState->Operands[WalkState->NumOperands - 1]; in AcpiDsEvalRegionOperands()
483 OperandDesc = WalkState->Operands[WalkState->NumOperands - 2]; in AcpiDsEvalRegionOperands()
656 WalkState->OperandIndex = WalkState->NumOperands; in AcpiDsEvalDataObjectOperands()
675 &(WalkState->Operands [WalkState->NumOperands -1]), in AcpiDsEvalDataObjectOperands()
684 ArgDesc = WalkState->Operands [WalkState->NumOperands - 1]; in AcpiDsEvalDataObjectOperands()
H A Ddswexec.c423 WalkState->NumOperands = 0; in AcpiDsExecEndOp()
473 &(WalkState->Operands [WalkState->NumOperands -1]), in AcpiDsExecEndOp()
660 WalkState->NumOperands = 1; in AcpiDsExecEndOp()
818 WalkState->NumOperands = 0; in AcpiDsExecEndOp()
H A Ddscontrol.c336 if (WalkState->NumOperands) in AcpiDsExecEndControlOp()
342 WalkState->NumOperands = 0; in AcpiDsExecEndControlOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DGCNDPPCombine.cpp204 int NumOperands = 1; in createDPPInst() local
208 assert(OldIdx == NumOperands); in createDPPInst()
217 ++NumOperands; in createDPPInst()
228 assert(NumOperands == AMDGPU::getNamedOperandIdx(DPPOp, in createDPPInst()
232 ++NumOperands; in createDPPInst()
236 ++NumOperands; in createDPPInst()
240 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { in createDPPInst()
246 DPPInst->getOperand(NumOperands).setIsKill(false); in createDPPInst()
247 ++NumOperands; in createDPPInst()
251 assert(NumOperands == AMDGPU::getNamedOperandIdx(DPPOp, in createDPPInst()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegisterBankInfo.h202 unsigned NumOperands = 0; variable
218 unsigned NumOperands) in InstructionMapping() argument
220 NumOperands(NumOperands) { in InstructionMapping()
234 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
521 unsigned NumOperands = 0) const;
528 unsigned NumOperands) const { in getInstructionMapping() argument
530 OperandsMapping, NumOperands); in getInstructionMapping()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp199 unsigned NumOperands = C->getNumOperands(); in remapConstantVectorOrConstantAggregate() local
203 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate()
220 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate()
225 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate()
238 unsigned NumOperands = C->getNumOperands(); in remapConstantExpr() local
242 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantExpr()
290 makeArrayRef(&NewOperands[1], NumOperands - 1)) in remapConstantExpr()
294 makeArrayRef(&NewOperands[1], NumOperands - 1)); in remapConstantExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp438 unsigned NumOperands = MI.getNumOperands(); in getSameKindOfOperandsMapping() local
439 assert(NumOperands <= 3 && in getSameKindOfOperandsMapping()
457 for (unsigned Idx = 1; Idx != NumOperands; ++Idx) { in getSameKindOfOperandsMapping()
471 getValueMapping(RBIdx, Size), NumOperands); in getSameKindOfOperandsMapping()
661 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
664 SmallVector<unsigned, 4> OpSize(NumOperands); in getInstrMapping()
665 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping()
666 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping()
849 for (unsigned Idx = 0, NumOperands = MI.getNumOperands(); in getInstrMapping() local
850 Idx < NumOperands; ++Idx) in getInstrMapping()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp341 unsigned NumOperands = I1->getNumOperands(); in isEquivalentOperation() local
342 for (unsigned i = 0; i < NumOperands; ++i) { in isEquivalentOperation()
428 int NumOperands = I->getNumOperands(); in findValueToReuse() local
443 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse()
447 for (int T = 0; T < NumOperands; ++T) { in findValueToReuse()
475 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse()
527 int NumOperands = Inst2Replace->getNumOperands(); in reuseValue() local
538 for (int j = 0; j < NumOperands; ++j) { in reuseValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DRegisterBankInfo.cpp376 unsigned NumOperands) { in hashInstructionMapping() argument
377 return hash_combine(ID, Cost, OperandsMapping, NumOperands); in hashInstructionMapping()
384 unsigned NumOperands) const { in getInstructionMappingImpl()
386 OperandsMapping == nullptr && NumOperands == 0) || in getInstructionMappingImpl()
392 hashInstructionMapping(ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl()
401 ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl()
600 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify()
608 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in verify()
641 for (unsigned OpIdx = 0; OpIdx != NumOperands; ++OpIdx) { in print()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCInstrDesc.h198 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable
212 if (OpNum < NumOperands && in getOperandConstraint()
228 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
233 const_opInfo_iterator opInfo_end() const { return OpInfo + NumOperands; } in opInfo_end()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstructions.h1523 const int NumOperands =
1527 return new (NumOperands, DescriptorBytes)
1545 const int NumOperands =
1549 return new (NumOperands, DescriptorBytes)
3720 ArrayRef<OperandBundleDef> Bundles, int NumOperands,
3725 ArrayRef<OperandBundleDef> Bundles, int NumOperands,
3750 int NumOperands = ComputeNumOperands(Args.size());
3751 return new (NumOperands)
3752 InvokeInst(Ty, Func, IfNormal, IfException, Args, None, NumOperands,
3761 int NumOperands =
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/Disassembler/
H A DM68kDisassembler.cpp487 unsigned NumOperands = Desc.NumOperands; in getInstruction() local
496 SmallVector<OperandType, 6> OpType(NumOperands, OperandType::Invalid); in getInstruction()
497 SmallVector<unsigned, 6> Scratch(NumOperands, 0); in getInstruction()
556 for (unsigned DstMIOpIdx = 0; DstMIOpIdx < NumOperands; ++DstMIOpIdx) { in getInstruction()
583 for (unsigned O = 0; O < NumOperands; ++O) { in getInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIntrinsicInst.cpp191 unsigned NumOperands = getNumArgOperands(); in getRoundingMode() local
193 auto *MAV = dyn_cast<MetadataAsValue>(getArgOperand(NumOperands - 2)); in getRoundingMode()
203 unsigned NumOperands = getNumArgOperands(); in getExceptionBehavior() local
205 auto *MAV = dyn_cast<MetadataAsValue>(getArgOperand(NumOperands - 1)); in getExceptionBehavior()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenTarget.h206 unsigned NumOperands; variable
215 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
/netbsd-src/sys/external/bsd/acpica/dist/executer/
H A Dexdump.c935 UINT32 NumOperands) in AcpiExDumpOperands() argument
947 OpcodeName, NumOperands)); in AcpiExDumpOperands()
949 if (NumOperands == 0) in AcpiExDumpOperands()
951 NumOperands = 1; in AcpiExDumpOperands()
956 while (NumOperands) in AcpiExDumpOperands()
960 NumOperands--; in AcpiExDumpOperands()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp137 unsigned NumOperands = MI->getNumOperands(); in EmitMSInlineAsmStr() local
203 if (Val >= NumOperands-1) in EmitMSInlineAsmStr()
278 unsigned NumOperands = MI->getNumOperands(); in EmitGCCInlineAsmStr() local
392 if (Val >= NumOperands-1) in EmitGCCInlineAsmStr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMRegisterBankInfo.cpp231 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
459 SmallVector<const ValueMapping *, 4> OperandBanks(NumOperands); in getInstrMapping()
476 for (unsigned i = 0; i < NumOperands; i++) { in getInstrMapping()
487 NumOperands); in getInstrMapping()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineInstr.cpp211 if (&Op >= Operands && &Op < Operands + NumOperands) { in addOperand()
261 if (OpNo != NumOperands) in addOperand()
262 moveOperands(Operands + OpNo + 1, OldOperands + OpNo, NumOperands - OpNo, in addOperand()
264 ++NumOperands; in addOperand()
322 if (unsigned N = NumOperands - 1 - OpNo) in RemoveOperand()
324 --NumOperands; in RemoveOperand()
727 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands() local
729 return NumOperands; in getNumExplicitOperands()
731 for (unsigned I = NumOperands, E = getNumOperands(); I != E; ++I) { in getNumExplicitOperands()
740 ++NumOperands; in getNumExplicitOperands()
[all …]

1234