Home
last modified time | relevance | path

Searched refs:OpInfo (Results 1 – 25 of 89) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp58 void update(const TargetLowering::AsmOperandInfo &OpInfo) { in update() argument
63 if (OpInfo.ConstraintType == TargetLowering::C_Memory || in update()
64 OpInfo.ConstraintType == TargetLowering::C_Other) { in update()
65 if (OpInfo.Type == InlineAsm::isInput) in update()
67 else if (OpInfo.Type == InlineAsm::isOutput) in update()
69 else if (OpInfo.Type == InlineAsm::isClobber) in update()
82 GISelAsmOperandInfo &OpInfo, in getRegistersForValue() argument
89 if (OpInfo.ConstraintType == TargetLowering::C_Memory) in getRegistersForValue()
104 if (OpInfo.isMatchingInputConstraint()) in getRegistersForValue()
109 if (OpInfo.ConstraintVT != MVT::Other) in getRegistersForValue()
[all …]
H A DLegalizerInfo.cpp337 ArrayRef<MCOperandInfo> OpInfo = MI.getDesc().operands(); in getAction() local
340 if (!OpInfo[i].isGenericType()) in getAction()
345 unsigned TypeIdx = OpInfo[i].getGenericTypeIndex(); in getAction()
387 [](unsigned Acc, const MCOperandInfo &OpInfo) { in verify() argument
388 return OpInfo.isGenericType() in verify()
389 ? std::max(OpInfo.getGenericTypeIndex() + 1U, Acc) in verify()
394 [](unsigned Acc, const MCOperandInfo &OpInfo) { in verify() argument
395 return OpInfo.isGenericImm() in verify()
396 ? std::max(OpInfo.getGenericImmIndex() + 1U, Acc) in verify()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CollectLOH.cpp333 LOHInfo &OpInfo) {
334 if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser))
337 if (&DefInfo != &OpInfo) { in handleMiddleInst() argument
338 OpInfo = DefInfo; in handleMiddleInst()
339 // Invalidate \p DefInfo because we track it in \p OpInfo now. in handleMiddleInst()
345 assert(OpInfo.IsCandidate && "Expect valid state"); in handleMiddleInst()
347 if (OpInfo.Type == MCLOH_AdrpLdr) { in handleMiddleInst()
348 OpInfo.Type = MCLOH_AdrpAddLdr; in handleMiddleInst()
349 OpInfo in handleMiddleInst()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsSizeReduction.cpp65 struct OpInfo { struct
66 OpInfo(enum OperandTransfer TransferOperands) in OpInfo() argument
68 OpInfo() : TransferOperands(OT_NA) {} in OpInfo() function
93 struct OpInfo OpInf; ///< Characteristics of operands
97 bool (*F)(ReduceEntryFunArgs *Arguments), struct OpInfo OpInf, in ReduceEntry()
215 ReduceADDIUToADDIUR1SP, OpInfo(OT_Operands02), ImmField(2, 0, 64, 2)},
217 OpInfo(OT_Operand2), ImmField(0, 0, 0, 2)},
219 ReduceADDIUToADDIUR1SP, OpInfo(OT_Operands02), ImmField(2, 0, 64, 2)},
221 ReduceADDIUToADDIUSP, OpInfo(OT_Operand2), ImmField(0, 0, 0, 2)},
223 ReduceArithmeticInstructions, OpInfo(OT_OperandsAll),
[all …]
/freebsd/sys/contrib/dev/acpica/common/
H A Dadwalk.c592 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmFindOrphanDescending() local
605 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmFindOrphanDescending()
689 OpInfo = AcpiPsGetOpcodeInfo (ParentOp->Common.AmlOpcode); in AcpiDmFindOrphanDescending()
691 if ((OpInfo->Class != AML_CLASS_EXECUTE) && in AcpiDmFindOrphanDescending()
692 (OpInfo->Class != AML_CLASS_CREATE) && in AcpiDmFindOrphanDescending()
693 (OpInfo->ObjectType != ACPI_TYPE_LOCAL_ALIAS) && in AcpiDmFindOrphanDescending()
756 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmLoadDescendingOp() local
769 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmLoadDescendingOp()
774 if (!(OpInfo->Flags & AML_NAMED) && in AcpiDmLoadDescendingOp()
775 !(OpInfo->Flags & AML_CREATE)) in AcpiDmLoadDescendingOp()
[all …]
/freebsd/sys/contrib/dev/acpica/components/parser/
H A Dpstree.c189 const ACPI_OPCODE_INFO *OpInfo; in AcpiPsGetArg() local
202 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiPsGetArg()
203 if (OpInfo->Class == AML_CLASS_UNKNOWN) in AcpiPsGetArg()
212 if (!(OpInfo->Flags & AML_HAS_ARGS)) in AcpiPsGetArg()
251 const ACPI_OPCODE_INFO *OpInfo; in AcpiPsAppendArg() local
264 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiPsAppendArg()
265 if (OpInfo->Class == AML_CLASS_UNKNOWN) in AcpiPsAppendArg()
276 if (!(OpInfo->Flags & AML_HAS_ARGS)) in AcpiPsAppendArg()
H A Dpsobject.c201 WalkState->OpInfo = AcpiPsGetOpcodeInfo (WalkState->Opcode); in AcpiPsGetAmlOpcode()
203 switch (WalkState->OpInfo->Class) in AcpiPsGetAmlOpcode()
277 WalkState->ArgTypes = WalkState->OpInfo->ParseArgs; in AcpiPsGetAmlOpcode()
462 const ACPI_OPCODE_INFO *OpInfo; in AcpiPsCreateOp() local
480 WalkState->OpInfo = AcpiPsGetOpcodeInfo (WalkState->Opcode); in AcpiPsCreateOp()
487 if (WalkState->OpInfo->Flags & AML_NAMED) in AcpiPsCreateOp()
522 if (WalkState->OpInfo->Flags & AML_CREATE) in AcpiPsCreateOp()
547 OpInfo = AcpiPsGetOpcodeInfo (ParentScope->Common.AmlOpcode); in AcpiPsCreateOp()
548 if (OpInfo->Flags & AML_HAS_TARGET) in AcpiPsCreateOp()
550 ArgumentCount = AcpiPsGetArgumentCount (OpInfo->Type); in AcpiPsCreateOp()
[all …]
H A Dpsutils.c243 const ACPI_OPCODE_INFO *OpInfo; in AcpiPsAllocOp() local
250 OpInfo = AcpiPsGetOpcodeInfo (Opcode); in AcpiPsAllocOp()
254 if (OpInfo->Flags & AML_DEFER) in AcpiPsAllocOp()
258 else if (OpInfo->Flags & AML_NAMED) in AcpiPsAllocOp()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslxref.c180 const ACPI_OPCODE_INFO *OpInfo,
428 const ACPI_OPCODE_INFO *OpInfo; in XfNamespaceLocateBegin() local
506 OpInfo = AcpiPsGetOpcodeInfo (Op->Asl.AmlOpcode); in XfNamespaceLocateBegin()
510 if (OpInfo->Type == AML_TYPE_LOCAL_VARIABLE) in XfNamespaceLocateBegin()
547 if (OpInfo->Type == AML_TYPE_METHOD_ARGUMENT) in XfNamespaceLocateBegin()
585 if ((!(OpInfo->Flags & AML_NAMED)) && in XfNamespaceLocateBegin()
586 (!(OpInfo->Flags & AML_CREATE)) && in XfNamespaceLocateBegin()
615 if (OpInfo->Flags & AML_NAMED) in XfNamespaceLocateBegin()
629 else if (OpInfo->Flags & AML_CREATE) in XfNamespaceLocateBegin()
709 if ((OpInfo->Flags & AML_CREATE) || in XfNamespaceLocateBegin()
[all …]
H A Daslwalks.c277 const ACPI_OPCODE_INFO *OpInfo; in AnOperandTypecheckWalkEnd() local
309 OpInfo = AcpiPsGetOpcodeInfo (Op->Asl.AmlOpcode); in AnOperandTypecheckWalkEnd()
310 if (!OpInfo) in AnOperandTypecheckWalkEnd()
316 OpcodeClass = OpInfo->Class; in AnOperandTypecheckWalkEnd()
317 RuntimeArgTypes = OpInfo->RuntimeArgs; in AnOperandTypecheckWalkEnd()
335 ((OpcodeClass == AML_CLASS_CREATE) && (OpInfo->Flags & AML_NSNODE))) in AnOperandTypecheckWalkEnd()
377 AnCheckMethodReturnValue (Op, OpInfo, ArgOp, in AnOperandTypecheckWalkEnd()
615 AnCheckMethodReturnValue (Op, OpInfo, ArgOp, in AnOperandTypecheckWalkEnd()
631 AslGbl_StringBuffer, OpInfo->Name, AslGbl_StringBuffer2); in AnOperandTypecheckWalkEnd()
673 const ACPI_OPCODE_INFO *OpInfo; in AnOtherSemanticAnalysisWalkBegin() local
[all …]
H A Dasllookup.c388 const ACPI_OPCODE_INFO *OpInfo; in LkGetNameOp() local
392 OpInfo = AcpiPsGetOpcodeInfo (Op->Asl.AmlOpcode); in LkGetNameOp()
397 if (OpInfo->Flags & AML_NAMED) in LkGetNameOp()
411 else if (OpInfo->Flags & AML_CREATE) in LkGetNameOp()
H A Daslfold.c330 const ACPI_OPCODE_INFO *OpInfo; in OpcAmlCheckForConstant() local
335 WalkState->OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in OpcAmlCheckForConstant()
377 OpInfo = AcpiPsGetOpcodeInfo (NextOp->Common.AmlOpcode); in OpcAmlCheckForConstant()
378 if (OpInfo->Flags & AML_DEFER) in OpcAmlCheckForConstant()
389 if (!(WalkState->OpInfo->Flags & AML_CONSTANT)) in OpcAmlCheckForConstant()
963 WalkState->OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in OpcAmlEvaluationWalk1()
1010 WalkState->OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in OpcAmlEvaluationWalk2()
H A Daslmapoutput.c673 const ACPI_OPCODE_INFO *OpInfo; in MpNamespaceXrefBegin() local
695 OpInfo = AcpiPsGetOpcodeInfo (Op->Asl.AmlOpcode); in MpNamespaceXrefBegin()
697 if ((OpInfo->Flags & AML_NAMED) || in MpNamespaceXrefBegin()
698 (OpInfo->Flags & AML_CREATE)) in MpNamespaceXrefBegin()
/freebsd/sys/contrib/dev/acpica/components/disassembler/
H A Ddmnames.c410 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmDisplayPath() local
415 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmDisplayPath()
416 if (!(OpInfo->Flags & AML_NSNODE)) in AcpiDmDisplayPath()
421 if (OpInfo->Flags & AML_CREATE) in AcpiDmDisplayPath()
463 OpInfo = AcpiPsGetOpcodeInfo (Search->Common.AmlOpcode); in AcpiDmDisplayPath()
464 if (!(OpInfo->Flags & AML_FIELD)) in AcpiDmDisplayPath()
475 if (OpInfo->Flags & AML_CREATE) in AcpiDmDisplayPath()
H A Ddmwalk.c366 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmBlockType() local
429 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmBlockType()
430 if (OpInfo->Flags & AML_HAS_ARGS) in AcpiDmBlockType()
456 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmListType() local
490 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmListType()
491 if (OpInfo->Flags & AML_HAS_ARGS) in AcpiDmListType()
521 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmDescendingOp() local
544 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmDescendingOp()
552 if ((OpInfo->Class == AML_CLASS_NAMED_OBJECT) || in AcpiDmDescendingOp()
553 (OpInfo->Class == AML_CLASS_CONTROL) || in AcpiDmDescendingOp()
[all …]
H A Ddmopcode.c201 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmDisplayTargetPathname() local
210 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmDisplayTargetPathname()
211 if (!(OpInfo->Flags & AML_HAS_TARGET)) in AcpiDmDisplayTargetPathname()
489 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmFieldPredefinedDescription() local
510 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmFieldPredefinedDescription()
511 if (!(OpInfo->Flags & AML_CREATE)) in AcpiDmFieldPredefinedDescription()
796 const ACPI_OPCODE_INFO *OpInfo = NULL; in AcpiDmDisassembleOneOp() local
854 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmDisassembleOneOp()
872 AcpiOsPrintf ("%s", OpInfo->Name); in AcpiDmDisassembleOneOp()
1103 AcpiOsPrintf ("%s", OpInfo->Name); in AcpiDmDisassembleOneOp()
[all …]
H A Ddmdeferred.c188 const ACPI_OPCODE_INFO *OpInfo; in AcpiDmParseDeferredOps() local
200 OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDmParseDeferredOps()
201 if (!(OpInfo->Flags & AML_DEFER)) in AcpiDmParseDeferredOps()
/freebsd/sys/contrib/dev/acpica/components/dispatcher/
H A Ddswload2.c214 if ((!(WalkState->OpInfo->Flags & AML_NSOPCODE) && in AcpiDsLoad2BeginOp()
216 (!(WalkState->OpInfo->Flags & AML_NAMED))) in AcpiDsLoad2BeginOp()
251 ObjectType = WalkState->OpInfo->ObjectType; in AcpiDsLoad2BeginOp()
458 if (WalkState->OpInfo->Flags & AML_NAMED) in AcpiDsLoad2BeginOp()
547 WalkState->OpInfo->Name, Op, WalkState)); in AcpiDsLoad2EndOp()
551 if (!(WalkState->OpInfo->Flags & AML_NSOBJECT)) in AcpiDsLoad2EndOp()
562 ObjectType = WalkState->OpInfo->ObjectType; in AcpiDsLoad2EndOp()
628 switch (WalkState->OpInfo->Type) in AcpiDsLoad2EndOp()
H A Ddswexec.c366 WalkState->OpInfo = AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode); in AcpiDsExecBeginOp()
368 if (AcpiNsOpensScope (WalkState->OpInfo->ObjectType)) in AcpiDsExecBeginOp()
372 AcpiUtGetTypeName (WalkState->OpInfo->ObjectType), Op)); in AcpiDsExecBeginOp()
414 OpcodeClass = WalkState->OpInfo->Class; in AcpiDsExecBeginOp()
518 OpType = WalkState->OpInfo->Type; in AcpiDsExecEndOp()
519 OpClass = WalkState->OpInfo->Class; in AcpiDsExecEndOp()
575 if (!(WalkState->OpInfo->Flags & AML_NO_OPERAND_RESOLVE) && in AcpiDsExecEndOp()
576 (WalkState->OpInfo->Flags & AML_HAS_ARGS)) in AcpiDsExecEndOp()
H A Ddsutils.c617 const ACPI_OPCODE_INFO *OpInfo; in AcpiDsCreateOperand() local
670 OpInfo = AcpiPsGetOpcodeInfo (ParentOp->Common.AmlOpcode); in AcpiDsCreateOperand()
672 if ((OpInfo->Flags & AML_NSNODE) && in AcpiDsCreateOperand()
784 OpInfo = AcpiPsGetOpcodeInfo (Opcode); in AcpiDsCreateOperand()
785 if (OpInfo->ObjectType == ACPI_TYPE_INVALID) in AcpiDsCreateOperand()
790 if ((OpInfo->Flags & AML_HAS_RETVAL) || in AcpiDsCreateOperand()
813 ObjDesc = AcpiUtCreateInternalObject (OpInfo->ObjectType); in AcpiDsCreateOperand()
H A Ddsobject.c487 const ACPI_OPCODE_INFO *OpInfo; in AcpiDsInitObjectFromOp() local
496 OpInfo = AcpiPsGetOpcodeInfo (Opcode); in AcpiDsInitObjectFromOp()
497 if (OpInfo->Class == AML_CLASS_UNKNOWN) in AcpiDsInitObjectFromOp()
540 switch (OpInfo->Type) in AcpiDsInitObjectFromOp()
606 OpInfo->Type)); in AcpiDsInitObjectFromOp()
629 switch (OpInfo->Type) in AcpiDsInitObjectFromOp()
H A Ddswload.c274 if (!(WalkState->OpInfo->Flags & AML_NAMED)) in AcpiDsLoad1BeginOp()
293 ObjectType = WalkState->OpInfo->ObjectType; in AcpiDsLoad1BeginOp()
584 (WalkState->OpInfo->Flags & AML_CREATE)) in AcpiDsLoad1EndOp()
592 if (!(WalkState->OpInfo->Flags & (AML_NAMED | AML_FIELD))) in AcpiDsLoad1EndOp()
599 ObjectType = WalkState->OpInfo->ObjectType; in AcpiDsLoad1EndOp()
601 if (WalkState->OpInfo->Flags & AML_FIELD) in AcpiDsLoad1EndOp()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DAsmWriterInst.cpp177 CGIOperandList::OperandInfo OpInfo = CGI.Operands[OpNo]; in AsmWriterInst() local
179 unsigned MIOp = OpInfo.MIOperandNo; in AsmWriterInst()
180 Operands.emplace_back(OpInfo.PrinterMethodName, MIOp, Modifier, in AsmWriterInst()
182 OpInfo.OperandType == "MCOI::OPERAND_PCREL"); in AsmWriterInst()
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexresop.c262 const ACPI_OPCODE_INFO *OpInfo; in AcpiExResolveOperands() local
271 OpInfo = AcpiPsGetOpcodeInfo (Opcode); in AcpiExResolveOperands()
272 if (OpInfo->Class == AML_CLASS_UNKNOWN) in AcpiExResolveOperands()
277 ArgTypes = OpInfo->RuntimeArgs; in AcpiExResolveOperands()
288 Opcode, OpInfo->Name, ArgTypes)); in AcpiExResolveOperands()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitCodes.h119 void Add(const BitCodeAbbrevOp &OpInfo) { in Add() argument
120 OperandList.push_back(OpInfo); in Add()

1234