Home
last modified time | relevance | path

Searched refs:Operand (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexoparg1.c272 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_1A_0T_0R() local
286 Status = AcpiExReleaseMutex (Operand[0], WalkState); in AcpiExOpcode_1A_0T_0R()
291 Status = AcpiExSystemResetEvent (Operand[0]); in AcpiExOpcode_1A_0T_0R()
296 Status = AcpiExSystemSignalEvent (Operand[0]); in AcpiExOpcode_1A_0T_0R()
301 Status = AcpiExSystemDoSleep (Operand[0]->Integer.Value); in AcpiExOpcode_1A_0T_0R()
306 Status = AcpiExSystemDoStall ((UINT32) Operand[0]->Integer.Value); in AcpiExOpcode_1A_0T_0R()
311 Status = AcpiExUnloadTable (Operand[0]); in AcpiExOpcode_1A_0T_0R()
345 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_1A_1T_0R() local
359 Status = AcpiExLoadOp (Operand[0], Operand[1], WalkState); in AcpiExOpcode_1A_1T_0R()
398 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_1A_1T_1R() local
[all …]
H A Dexoparg2.c206 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_2A_0T_0R() local
224 Node = (ACPI_NAMESPACE_NODE *) Operand[0]; in AcpiExOpcode_2A_0T_0R()
228 Value = (UINT32) Operand[1]->Integer.Value; in AcpiExOpcode_2A_0T_0R()
280 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_2A_2T_1R() local
315 Operand[0]->Integer.Value, in AcpiExOpcode_2A_2T_1R()
316 Operand[1]->Integer.Value, in AcpiExOpcode_2A_2T_1R()
336 Status = AcpiExStore (ReturnDesc2, Operand[2], WalkState); in AcpiExOpcode_2A_2T_1R()
342 Status = AcpiExStore (ReturnDesc1, Operand[3], WalkState); in AcpiExOpcode_2A_2T_1R()
390 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_2A_1T_1R() local
416 Operand[0]->Integer.Value, in AcpiExOpcode_2A_1T_1R()
[all …]
H A Dexoparg3.c204 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_3A_0T_0R() local
216 Fatal.Type = (UINT32) Operand[0]->Integer.Value; in AcpiExOpcode_3A_0T_0R()
217 Fatal.Code = (UINT32) Operand[1]->Integer.Value; in AcpiExOpcode_3A_0T_0R()
218 Fatal.Argument = (UINT32) Operand[2]->Integer.Value; in AcpiExOpcode_3A_0T_0R()
280 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_3A_1T_1R() local
300 (Operand[0])->Common.Type); in AcpiExOpcode_3A_1T_1R()
309 Index = Operand[1]->Integer.Value; in AcpiExOpcode_3A_1T_1R()
310 Length = (ACPI_SIZE) Operand[2]->Integer.Value; in AcpiExOpcode_3A_1T_1R()
316 if (Index >= Operand[0]->String.Length) in AcpiExOpcode_3A_1T_1R()
323 else if ((Index + Length) > Operand[0]->String.Length || in AcpiExOpcode_3A_1T_1R()
[all …]
H A Dexoparg6.c333 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_6A_0T_1R() local
354 if ((Operand[1]->Integer.Value > MAX_MATCH_OPERATOR) || in AcpiExOpcode_6A_0T_1R()
355 (Operand[3]->Integer.Value > MAX_MATCH_OPERATOR)) in AcpiExOpcode_6A_0T_1R()
364 Index = Operand[5]->Integer.Value; in AcpiExOpcode_6A_0T_1R()
365 if (Index >= Operand[0]->Package.Count) in AcpiExOpcode_6A_0T_1R()
369 ACPI_FORMAT_UINT64 (Index), Operand[0]->Package.Count)); in AcpiExOpcode_6A_0T_1R()
396 for ( ; Index < Operand[0]->Package.Count; Index++) in AcpiExOpcode_6A_0T_1R()
400 ThisElement = Operand[0]->Package.Elements[Index]; in AcpiExOpcode_6A_0T_1R()
414 if (!AcpiExDoMatch ((UINT32) Operand[1]->Integer.Value, in AcpiExOpcode_6A_0T_1R()
415 ThisElement, Operand[2])) in AcpiExOpcode_6A_0T_1R()
[all …]
H A Dexconfig.c243 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExLoadTableOp() local
272 if ((Operand[1]->String.Length > ACPI_OEM_ID_SIZE) || in AcpiExLoadTableOp()
273 (Operand[2]->String.Length > ACPI_OEM_TABLE_ID_SIZE)) in AcpiExLoadTableOp()
283 memcpy (OemId, Operand[1]->String.Pointer, Operand[1]->String.Length); in AcpiExLoadTableOp()
284 OemId[Operand[1]->String.Length] = 0; in AcpiExLoadTableOp()
285 memcpy (OemTableId, Operand[2]->String.Pointer, Operand[2]->String.Length); in AcpiExLoadTableOp()
286 OemTableId[Operand[2]->String.Length] = 0; in AcpiExLoadTableOp()
292 Operand[0]->String.Pointer, in AcpiExLoadTableOp()
315 if (Operand[3]->String.Length > 0) in AcpiExLoadTableOp()
322 Operand[3]->String.Pointer, ACPI_NS_SEARCH_PARENT, in AcpiExLoadTableOp()
[all …]
H A Dexcreate.c493 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExCreateProcessor() local
511 ObjDesc->Processor.ProcId = (UINT8) Operand[1]->Integer.Value; in AcpiExCreateProcessor()
512 ObjDesc->Processor.Length = (UINT8) Operand[3]->Integer.Value; in AcpiExCreateProcessor()
513 ObjDesc->Processor.Address = (ACPI_IO_ADDRESS) Operand[2]->Integer.Value; in AcpiExCreateProcessor()
517 Status = AcpiNsAttachObject ((ACPI_NAMESPACE_NODE *) Operand[0], in AcpiExCreateProcessor()
545 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExCreatePowerResource() local
563 ObjDesc->PowerResource.SystemLevel = (UINT8) Operand[1]->Integer.Value; in AcpiExCreatePowerResource()
564 ObjDesc->PowerResource.ResourceOrder = (UINT16) Operand[2]->Integer.Value; in AcpiExCreatePowerResource()
568 Status = AcpiNsAttachObject ((ACPI_NAMESPACE_NODE *) Operand[0], in AcpiExCreatePowerResource()
598 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExCreateMethod() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/LowLevel/
H A DDWARFExpression.cpp156 for (unsigned Operand = 0; Operand < Desc.Op.size(); ++Operand) { in extract() local
157 unsigned Size = Desc.Op[Operand]; in extract()
162 assert(Operand == 0 && "SubOp operand must be the first operand"); in extract()
163 Operands[Operand] = Data.getULEB128(&Offset); in extract()
164 Desc = getSubOpDesc(Opcode, Operands[Operand]); in extract()
167 assert(Desc.Op[Operand] == Operation::SizeSubOpLEB && in extract()
171 Operands[Operand] = Data.getU8(&Offset); in extract()
173 Operands[Operand] = (int8_t)Operands[Operand]; in extract()
176 Operands[Operand] = Data.getU16(&Offset); in extract()
178 Operands[Operand] = (int16_t)Operands[Operand]; in extract()
[all …]
H A DDWARFCFIProgram.cpp52 uint64_t Operand = Ops[OperandIdx]; in getOperandAsUnsigned() local
73 return Operand; in getOperandAsUnsigned()
83 return Operand * CodeAlignmentFactor; in getOperandAsUnsigned()
97 uint64_t Operand = Ops[OperandIdx]; in getOperandAsSigned() local
116 return (int64_t)Operand; in getOperandAsSigned()
126 return int64_t(Operand) * DataAlignmentFactor; in getOperandAsSigned()
137 return Operand * DataAlignmentFactor; in getOperandAsSigned()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonDepOperands.td17 def s6_0Imm : Operand<i32> { let ParserMatchClass = s6_0ImmOperand; let DecoderMethod = "s6_0ImmDec…
20 def s32_0Imm : Operand<i32> { let ParserMatchClass = s32_0ImmOperand; let DecoderMethod = "s32_0Imm…
23 def u10_0Imm : Operand<i32> { let ParserMatchClass = u10_0ImmOperand; let DecoderMethod = "unsigned…
26 def u32_0Imm : Operand<i32> { let ParserMatchClass = u32_0ImmOperand; let DecoderMethod = "unsigned…
29 def m32_0Imm : Operand<i32> { let ParserMatchClass = m32_0ImmOperand; let DecoderMethod = "unsigned…
32 def b13_2Imm : Operand<OtherVT> { let ParserMatchClass = b13_2ImmOperand; let DecoderMethod = "brta…
35 def b15_2Imm : Operand<OtherVT> { let ParserMatchClass = b15_2ImmOperand; let DecoderMethod = "brta…
38 def a30_2Imm : Operand<i32> { let ParserMatchClass = a30_2ImmOperand; let DecoderMethod = "brtarget…
41 def b30_2Imm : Operand<OtherVT> { let ParserMatchClass = b30_2ImmOperand; let DecoderMethod = "brta…
44 def s31_1Imm : Operand<i32> { let ParserMatchClass = s31_1ImmOperand; let DecoderMethod = "s31_1Imm…
[all …]
H A DHexagonOperands.td10 def f32Imm : Operand<f32> { let ParserMatchClass = f32ImmOperand; }
12 def f64Imm : Operand<f64> { let ParserMatchClass = f64ImmOperand; }
15 def s9_0Imm : Operand<i32> { let ParserMatchClass = s9_0ImmOperand; }
17 def s27_2Imm : Operand<i32> { let ParserMatchClass = s27_2ImmOperand; }
28 def u64_0Imm : Operand<i64> { let ParserMatchClass = u64_0ImmOperand; }
30 def n1Const : Operand<i32> { let ParserMatchClass = n1ConstOperand; }
32 def sgp10Const : Operand<i32> { let ParserMatchClass = sgp10ConstOperand; }
34 def bblabel : Operand<i32>;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFCFIPrinter.cpp44 unsigned OperandIdx, uint64_t Operand, in printOperand() argument
63 OS << format(" %" PRIx64, Operand); in printOperand()
64 Address = Operand; in printOperand()
70 OS << format(" %+" PRId64, int64_t(Operand)); in printOperand()
74 OS << format(" %" PRId64, Operand * P.codeAlign()); in printOperand()
76 OS << format(" %" PRId64 "*code_alignment_factor", Operand); in printOperand()
78 *Address += Operand * P.codeAlign(); in printOperand()
84 OS << format(" %" PRId64, int64_t(Operand) * P.dataAlign()); in printOperand()
86 OS << format(" %" PRId64 "*data_alignment_factor", int64_t(Operand)); in printOperand()
90 OS << format(" %" PRId64, Operand * P.dataAlign()); in printOperand()
[all …]
H A DDWARFExpressionPrinter.cpp28 unsigned Operand) { in prettyPrintBaseTypeRef() argument
29 assert(Operand < Operands.size() && "operand out of bounds"); in prettyPrintBaseTypeRef()
31 OS << format(" <base_type ref: 0x%" PRIx64 ">", Operands[Operand]); in prettyPrintBaseTypeRef()
34 auto Die = U->getDIEForOffset(U->getOffset() + Operands[Operand]); in prettyPrintBaseTypeRef()
38 OS << format("0x%08" PRIx64 " -> ", Operands[Operand]); in prettyPrintBaseTypeRef()
39 OS << format("0x%08" PRIx64 ")", U->getOffset() + Operands[Operand]); in prettyPrintBaseTypeRef()
43 OS << format(" <invalid base_type ref: 0x%" PRIx64 ">", Operands[Operand]); in prettyPrintBaseTypeRef()
67 for (unsigned Operand = 0; Operand < Op->getDescription().Op.size(); in printOp() local
68 ++Operand) { in printOp()
69 unsigned Size = Op->getDescription().Op[Operand]; in printOp()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DDisassembler.h200 struct Operand { struct
209 std::vector<Operand> m_children; argument
217 static Operand BuildRegister(ConstString &r); argument
218 static Operand BuildImmediate(lldb::addr_t imm, bool neg);
219 static Operand BuildImmediate(int64_t imm);
220 static Operand BuildDereference(const Operand &ref);
221 static Operand BuildSum(const Operand &lhs, const Operand &rhs);
222 static Operand BuildProduct(const Operand &lhs, const Operand &rhs);
225 virtual bool ParseOperands(llvm::SmallVectorImpl<Operand> &operands) { in ParseOperands()
265 std::function<bool(const Instruction::Operand &)>
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp760 static std::pair<Operand, llvm::StringRef::const_iterator>
763 Operand ret; in ParseRegisterName()
764 ret.m_type = Operand::Type::Register; in ParseRegisterName()
772 return std::make_pair(Operand(), osi); in ParseRegisterName()
782 return std::make_pair(Operand(), osi); in ParseRegisterName()
789 return std::make_pair(Operand(), osi); in ParseRegisterName()
801 static std::pair<Operand, llvm::StringRef::const_iterator>
804 Operand ret; in ParseImmediate()
805 ret.m_type = Operand::Type::Immediate; in ParseImmediate()
818 return std::make_pair(Operand(), osi); in ParseImmediate()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDisassembler.cpp1242 Instruction::Operand Instruction::Operand::BuildRegister(ConstString &r) { in BuildRegister()
1243 Operand ret; in BuildRegister()
1249 Instruction::Operand Instruction::Operand::BuildImmediate(lldb::addr_t imm, in BuildImmediate()
1251 Operand ret; in BuildImmediate()
1258 Instruction::Operand Instruction::Operand::BuildImmediate(int64_t imm) { in BuildImmediate()
1259 Operand ret; in BuildImmediate()
1271 Instruction::Operand
1272 Instruction::Operand::BuildDereference(const Operand &ref) { in BuildDereference()
1273 Operand ret; in BuildDereference()
1279 Instruction::Operand Instruction::Operand::BuildSum(const Operand &lhs, in BuildSum()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrBuilder.h87 unsigned Operand) { in getAddressFromInstr() argument
89 const MachineOperand &Op0 = MI->getOperand(Operand); in getAddressFromInstr()
98 const MachineOperand &Op1 = MI->getOperand(Operand + 1); in getAddressFromInstr()
101 const MachineOperand &Op2 = MI->getOperand(Operand + 2); in getAddressFromInstr()
104 const MachineOperand &Op3 = MI->getOperand(Operand + 3); in getAddressFromInstr()
126 static inline void setDirectAddressInInstr(MachineInstr *MI, unsigned Operand, in setDirectAddressInInstr() argument
129 MI->getOperand(Operand).ChangeToRegister(Reg, /*isDef=*/false); in setDirectAddressInInstr()
130 MI->getOperand(Operand + 1).setImm(1); in setDirectAddressInInstr()
131 MI->getOperand(Operand + 2).setReg(0); in setDirectAddressInInstr()
132 MI->getOperand(Operand + 3).ChangeToImmediate(0); in setDirectAddressInInstr()
[all …]
H A DX86InstrOperands.td1 //===------- X86InstrOperands.td - X86 Operand Definitions --*- tablegen -*-===//
13 // *mem - Operand definitions for the funky X86 addressing mode operands.
54 int size = 0> : Operand<iPTR> {
158 class BranchTargetOperand<ValueType ty> : Operand<ty> {
285 class X86MemOffsOperand<Operand immOperand, string printMethod,
314 def ccode : Operand<i8> {
342 def AVX512RC : Operand<i32> {
402 def i16i8imm : Operand<i16> {
407 def i32i8imm : Operand<i32> {
413 def i64i32imm : Operand<i64> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCELFStreamer.cpp137 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelReloc() local
138 assert(Operand.isExpr() && "Expecting an MCExpr."); in emitGOTToPCRelReloc()
140 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelReloc()
170 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelLabel() local
171 assert(Operand.isExpr() && "Expecting an MCExpr."); in emitGOTToPCRelLabel()
173 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelLabel()
206 const MCOperand &Operand = Inst.getOperand(LastOp); in isPartOfGOTToPCRelPair() local
207 if (!Operand.isExpr()) in isPartOfGOTToPCRelPair()
211 const MCExpr *Expr = Operand.getExpr(); in isPartOfGOTToPCRelPair()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.td519 // PowerPC Operand Definitions.
621 def u1imm : Operand<i32> {
632 def u2imm : Operand<i32> {
643 def atimm : Operand<i32> {
653 def u3imm : Operand<i32> {
664 def u4imm : Operand<i32> {
674 def s5imm : Operand<i32> {
684 def u5imm : Operand<i32> {
694 def u6imm : Operand<i32> {
704 def u7imm : Operand<i32> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp93 Value *Operand = II.getOperand(i); in runOnModule() local
94 if (isa<Constant>(Operand)) { in runOnModule()
96 i, remapConstant(&M, &F, cast<Constant>(Operand), Builder)); in runOnModule()
184 Value *Operand = C->getOperand(i); in remapConstantVectorOrConstantAggregate() local
185 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantVectorOrConstantAggregate()
186 OperandChanged |= Operand != NewOperand; in remapConstantVectorOrConstantAggregate()
223 Value *Operand = C->getOperand(i); in remapConstantExpr() local
224 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantExpr()
225 OperandChanged |= Operand != NewOperand; in remapConstantExpr()
/freebsd/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsopcode.c633 ACPI_OPERAND_OBJECT **Operand; in AcpiDsEvalTableRegionOperands() local
663 Operand = &WalkState->Operands[0]; in AcpiDsEvalTableRegionOperands()
679 Operand[0]->String.Pointer, in AcpiDsEvalTableRegionOperands()
680 Operand[1]->String.Pointer, in AcpiDsEvalTableRegionOperands()
681 Operand[2]->String.Pointer, &TableIndex); in AcpiDsEvalTableRegionOperands()
688 Operand[0]->String.Pointer, in AcpiDsEvalTableRegionOperands()
689 Operand[1]->String.Pointer, in AcpiDsEvalTableRegionOperands()
690 Operand[2]->String.Pointer)); in AcpiDsEvalTableRegionOperands()
721 AcpiUtRemoveReference (Operand[0]); in AcpiDsEvalTableRegionOperands()
722 AcpiUtRemoveReference (Operand[1]); in AcpiDsEvalTableRegionOperands()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVSymbolicOperands.td183 def Extension : GenericEnum, Operand<i32> {
330 def Capability : GenericEnum, Operand<i32> {
334 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>");
538 def SourceLanguage : GenericEnum, Operand<i32> {
542 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>");
567 def AddressingModel : GenericEnum, Operand<i32> {
571 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>");
594 def ExecutionModel : GenericEnum, Operand<i32> {
598 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>");
632 def MemoryModel : GenericEnum, Operand<i32> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.td156 // Default Operand has AsmOperandClass "Imm" which is for integers (and
163 class FPOperand<ValueType ty> : Operand<ty> {
170 def bb_op : Operand<OtherVT>;
173 def local_op : Operand<i32>;
177 def global_op32 : Operand<i32>;
181 def global_op64 : Operand<i64>;
185 def i32imm_op : Operand<i32>;
188 def i64imm_op : Operand<i64>;
197 def vec_i8imm_op : Operand<i32>;
200 def vec_i16imm_op : Operand<i32>;
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStackFrame.cpp1360 std::pair<const Instruction::Operand *, int64_t>
1361 GetBaseExplainingValue(const Instruction::Operand &operand, in GetBaseExplainingValue()
1364 case Instruction::Operand::Type::Dereference: in GetBaseExplainingValue()
1365 case Instruction::Operand::Type::Immediate: in GetBaseExplainingValue()
1366 case Instruction::Operand::Type::Invalid: in GetBaseExplainingValue()
1367 case Instruction::Operand::Type::Product: in GetBaseExplainingValue()
1370 case Instruction::Operand::Type::Sum: { in GetBaseExplainingValue()
1371 const Instruction::Operand *immediate_child = nullptr; in GetBaseExplainingValue()
1372 const Instruction::Operand *variable_child = nullptr; in GetBaseExplainingValue()
1373 if (operand.m_children[0].m_type == Instruction::Operand::Type::Immediate) { in GetBaseExplainingValue()
[all …]
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutmath.c248 UINT64 Operand, in AcpiUtShortShiftLeft() argument
258 OperandOvl.Full = Operand; in AcpiUtShortShiftLeft()
293 UINT64 Operand, in AcpiUtShortShiftRight() argument
303 OperandOvl.Full = Operand; in AcpiUtShortShiftRight()
367 UINT64 Operand, in AcpiUtShortShiftLeft() argument
379 *OutResult = Operand << Count; in AcpiUtShortShiftLeft()
397 UINT64 Operand, in AcpiUtShortShiftRight() argument
409 *OutResult = Operand >> Count; in AcpiUtShortShiftRight()

12345678910>>...14