Home
last modified time | relevance | path

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

12345678910>>...13

/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.c203 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_3A_0T_0R() local
219 (UINT32) Operand[0]->Integer.Value, in AcpiExOpcode_3A_0T_0R()
220 (UINT32) Operand[1]->Integer.Value, in AcpiExOpcode_3A_0T_0R()
221 (UINT32) Operand[2]->Integer.Value)); in AcpiExOpcode_3A_0T_0R()
226 Fatal->Type = (UINT32) Operand[0]->Integer.Value; in AcpiExOpcode_3A_0T_0R()
227 Fatal->Code = (UINT32) Operand[1]->Integer.Value; in AcpiExOpcode_3A_0T_0R()
228 Fatal->Argument = (UINT32) Operand[2]->Integer.Value; in AcpiExOpcode_3A_0T_0R()
285 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExOpcode_3A_1T_1R() local
305 (Operand[0])->Common.Type); in AcpiExOpcode_3A_1T_1R()
314 Index = Operand[1]->Integer.Value; 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 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 …]
H A Dexconfig.c243 ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0]; in AcpiExLoadTableOp() local
269 Operand[0]->String.Pointer, in AcpiExLoadTableOp()
270 Operand[1]->String.Pointer, in AcpiExLoadTableOp()
271 Operand[2]->String.Pointer, &TableIndex); in AcpiExLoadTableOp()
292 if (Operand[3]->String.Length > 0) in AcpiExLoadTableOp()
299 Operand[3]->String.Pointer, ACPI_NS_SEARCH_PARENT, in AcpiExLoadTableOp()
309 if (Operand[4]->String.Length > 0) in AcpiExLoadTableOp()
311 if ((Operand[4]->String.Pointer[0] != AML_ROOT_PREFIX) && in AcpiExLoadTableOp()
312 (Operand[4]->String.Pointer[0] != AML_PARENT_PREFIX)) in AcpiExLoadTableOp()
324 Operand[4]->String.Pointer, ACPI_NS_SEARCH_PARENT, in AcpiExLoadTableOp()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp153 for (unsigned Operand = 0; Operand < Desc.Op.size(); ++Operand) { in extract() local
154 unsigned Size = Desc.Op[Operand]; in extract()
159 assert(Operand == 0 && "SubOp operand must be the first operand"); in extract()
160 Operands[Operand] = Data.getULEB128(&Offset); in extract()
161 Desc = getSubOpDesc(Opcode, Operands[Operand]); in extract()
164 assert(Desc.Op[Operand] == Operation::SizeSubOpLEB && in extract()
168 Operands[Operand] = Data.getU8(&Offset); in extract()
170 Operands[Operand] = (int8_t)Operands[Operand]; in extract()
173 Operands[Operand] = Data.getU16(&Offset); in extract()
175 Operands[Operand] = (int16_t)Operands[Operand]; in extract()
[all …]
/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/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.cpp753 static std::pair<Operand, llvm::StringRef::const_iterator> in ParseRegisterName()
756 Operand ret; in ParseRegisterName()
757 ret.m_type = Operand::Type::Register; in ParseRegisterName()
765 return std::make_pair(Operand(), osi); in ParseRegisterName()
775 return std::make_pair(Operand(), osi);
782 return std::make_pair(Operand(), osi); in ParseImmediate()
794 static std::pair<Operand, llvm::StringRef::const_iterator> in ParseImmediate()
797 Operand ret; in ParseImmediate()
798 ret.m_type = Operand::Type::Immediate; in ParseImmediate()
811 return std::make_pair(Operand(), os in ParseImmediate()
[all...]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDisassembler.cpp1210 Instruction::Operand Instruction::Operand::BuildRegister(ConstString &r) { in BuildRegister()
1211 Operand ret; in BuildRegister()
1217 Instruction::Operand Instruction::Operand::BuildImmediate(lldb::addr_t imm, in BuildImmediate()
1219 Operand ret; in BuildImmediate()
1226 Instruction::Operand Instruction::Operand::BuildImmediate(int64_t imm) { in BuildImmediate()
1227 Operand ret; in BuildImmediate()
1239 Instruction::Operand
1240 Instruction::Operand::BuildDereference(const Operand &ref) { in BuildDereference()
1241 Operand ret; in BuildDereference()
1247 Instruction::Operand Instruction::Operand::BuildSum(const Operand &lhs, in BuildSum()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrBuilder.h93 unsigned Operand) { in getAddressFromInstr() argument
95 const MachineOperand &Op0 = MI->getOperand(Operand); in getAddressFromInstr()
104 const MachineOperand &Op1 = MI->getOperand(Operand + 1); in getAddressFromInstr()
107 const MachineOperand &Op2 = MI->getOperand(Operand + 2); in getAddressFromInstr()
110 const MachineOperand &Op3 = MI->getOperand(Operand + 3); in getAddressFromInstr()
132 static inline void setDirectAddressInInstr(MachineInstr *MI, unsigned Operand, in setDirectAddressInInstr() argument
135 MI->getOperand(Operand).ChangeToRegister(Reg, /*isDef=*/false); in setDirectAddressInInstr()
136 MI->getOperand(Operand + 1).setImm(1); in setDirectAddressInInstr()
137 MI->getOperand(Operand + 2).setReg(0); in setDirectAddressInInstr()
138 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.
56 int size = 0> : Operand<iPTR> {
157 class BranchTargetOperand<ValueType ty> : Operand<ty> {
281 class X86MemOffsOperand<Operand immOperand, string printMethod,
310 def ccode : Operand<i8> {
338 def AVX512RC : Operand<i32> {
398 def i16i8imm : Operand<i16> {
403 def i32i8imm : Operand<i32> {
409 def i64i32imm : Operand<i64> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCELFStreamer.cpp139 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelReloc() local
140 assert(Operand.isExpr() && "Expecting an MCExpr."); in emitGOTToPCRelReloc()
142 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelReloc()
174 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelLabel() local
175 assert(Operand.isExpr() && "Expecting an MCExpr."); in emitGOTToPCRelLabel()
177 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelLabel()
210 const MCOperand &Operand = Inst.getOperand(LastOp); in isPartOfGOTToPCRelPair() local
211 if (!Operand.isExpr()) in isPartOfGOTToPCRelPair()
215 const MCExpr *Expr = Operand.getExpr(); in isPartOfGOTToPCRelPair()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.td518 // PowerPC Operand Definitions.
620 def u1imm : Operand<i32> {
631 def u2imm : Operand<i32> {
642 def atimm : Operand<i32> {
652 def u3imm : Operand<i32> {
663 def u4imm : Operand<i32> {
673 def s5imm : Operand<i32> {
683 def u5imm : Operand<i32> {
693 def u6imm : Operand<i32> {
703 def u7imm : Operand<i32> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVSymbolicOperands.td179 def Extension : GenericEnum, Operand<i32> {
313 def Capability : GenericEnum, Operand<i32> {
317 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>");
489 def SourceLanguage : GenericEnum, Operand<i32> {
493 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>");
518 def AddressingModel : GenericEnum, Operand<i32> {
522 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>");
545 def ExecutionModel : GenericEnum, Operand<i32> {
549 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>");
583 def MemoryModel : GenericEnum, Operand<i32> {
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStackFrame.cpp1224 std::pair<const Instruction::Operand *, int64_t>
1225 GetBaseExplainingValue(const Instruction::Operand &operand, in GetBaseExplainingValue()
1228 case Instruction::Operand::Type::Dereference: in GetBaseExplainingValue()
1229 case Instruction::Operand::Type::Immediate: in GetBaseExplainingValue()
1230 case Instruction::Operand::Type::Invalid: in GetBaseExplainingValue()
1231 case Instruction::Operand::Type::Product: in GetBaseExplainingValue()
1234 case Instruction::Operand::Type::Sum: { in GetBaseExplainingValue()
1235 const Instruction::Operand *immediate_child = nullptr; in GetBaseExplainingValue()
1236 const Instruction::Operand *variable_child = nullptr; in GetBaseExplainingValue()
1237 if (operand.m_children[0].m_type == Instruction::Operand::Type::Immediate) { in GetBaseExplainingValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.td144 // Default Operand has AsmOperandClass "Imm" which is for integers (and
151 class FPOperand<ValueType ty> : Operand<ty> {
158 def bb_op : Operand<OtherVT>;
161 def local_op : Operand<i32>;
165 def global_op32 : Operand<i32>;
169 def global_op64 : Operand<i64>;
173 def i32imm_op : Operand<i32>;
176 def i64imm_op : Operand<i64>;
185 def vec_i8imm_op : Operand<i32>;
188 def vec_i16imm_op : Operand<i32>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp149 const Value *Operand = cast<Constant>(Str)->getOperand(0); in runNVVMReflect() local
150 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Operand)) { in runNVVMReflect()
156 Operand = Initializer; in runNVVMReflect()
159 assert(isa<ConstantDataSequential>(Operand) && in runNVVMReflect()
161 assert(cast<ConstantDataSequential>(Operand)->isCString() && in runNVVMReflect()
164 StringRef ReflectArg = cast<ConstantDataSequential>(Operand)->getAsString(); in runNVVMReflect()
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()
185 Value *Operand = C->getOperand(i); in remapConstantVectorOrConstantAggregate() local
186 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantVectorOrConstantAggregate()
187 OperandChanged |= Operand != NewOperand; in remapConstantVectorOrConstantAggregate()
224 Value *Operand = C->getOperand(i); in remapConstantExpr() local
225 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantExpr()
226 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/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()
/freebsd/sys/contrib/edk2/Include/Library/
H A DBaseLib.h3287 IN UINT64 Operand,
3310 IN UINT64 Operand,
3333 IN UINT64 Operand,
3357 IN UINT32 Operand,
3381 IN UINT32 Operand,
3405 IN UINT64 Operand,
3429 IN UINT64 Operand,
3450 IN UINT32 Operand
3471 IN UINT64 Operand
3492 IN UINT32 Operand
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp574 M68kOperand &Operand = (M68kOperand &)Op; in validateTargetOperandClass() local
579 if (Operand.isReg() && in validateTargetOperandClass()
580 checkRegisterClass(Operand.getReg(), true, true, true)) { in validateTargetOperandClass()
587 if (Operand.isReg() && in validateTargetOperandClass()
588 checkRegisterClass(Operand.getReg(), false, true, true)) { in validateTargetOperandClass()
594 if (Operand.isReg() && in validateTargetOperandClass()
595 checkRegisterClass(Operand.getReg(), false, true, false)) { in validateTargetOperandClass()
603 if (Operand.isReg() && in validateTargetOperandClass()
604 checkRegisterClass(Operand.getReg(), true, false, false)) { in validateTargetOperandClass()
610 if (Operand.isReg() && in validateTargetOperandClass()
[all …]

12345678910>>...13