| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
| H A D | MCInstrDescView.cpp | 36 unsigned Operand::getIndex() const { return *Index; } in getIndex() 38 bool Operand::isExplicit() const { return Info; } in isExplicit() 40 bool Operand::isImplicit() const { return !Info; } in isImplicit() 42 bool Operand::isImplicitReg() const { return ImplicitReg; } in isImplicitReg() 44 bool Operand::isDef() const { return IsDef; } in isDef() 46 bool Operand::isUse() const { return !IsDef; } in isUse() 48 bool Operand::isReg() const { return Tracker; } in isReg() 50 bool Operand::isTied() const { return TiedToIndex.has_value(); } in isTied() 52 bool Operand::isVariable() const { return VariableIndex.has_value(); } in isVariable() 54 bool Operand::isMemory() const { in isMemory() [all …]
|
| H A D | MCInstrDescView.h | 64 struct Operand { struct 120 const Operand &getPrimaryOperand(const Variable &Var) const; 157 const SmallVector<Operand, 8> Operands; 165 SmallVector<Operand, 8> Operands, 190 RegisterOperandAssignment(const Operand *Operand, MCPhysReg Reg) in RegisterOperandAssignment() 191 : Op(Operand), Reg(Reg) {} in RegisterOperandAssignment() 193 const Operand *Op; // Pointer to an Explicit Register Operand.
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/java/ |
| H A D | java-tree.def | 14 /* Unary plus. Operand 0 is the expression the unary plus is applied 19 Operand 0 is the array base type. 20 Operand 1 is the list of dimension expressions. 21 Operand 2 is the number of other dimensions of unspecified range. 26 Operand 0 is the base type of the anonymous array. 27 Operand 1 is the signature of the dimensions this array contains. 28 Operand 2 is the anonymous array initializer. 33 Operand 0 is the name of the class to be created 34 Operand 1 is the argument list used to select a constructor. 44 Operand 1 is the case value. */ [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFExpression.cpp | 129 for (unsigned Operand = 0; Operand < 2; ++Operand) { in extract() local 130 unsigned Size = Desc.Op[Operand]; in extract() 138 Operands[Operand] = Data.getU8(&Offset); in extract() 140 Operands[Operand] = (int8_t)Operands[Operand]; in extract() 143 Operands[Operand] = Data.getU16(&Offset); in extract() 145 Operands[Operand] = (int16_t)Operands[Operand]; in extract() 148 Operands[Operand] = Data.getU32(&Offset); in extract() 150 Operands[Operand] = (int32_t)Operands[Operand]; in extract() 153 Operands[Operand] = Data.getU64(&Offset); in extract() 156 Operands[Operand] = Data.getUnsigned(&Offset, AddressSize); in extract() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonDepOperands.td | 17 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 D | HexagonOperands.td | 10 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>;
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | Disassembler.h | 198 struct Operand { struct 207 std::vector<Operand> m_children; argument 215 static Operand BuildRegister(ConstString &r); argument 216 static Operand BuildImmediate(lldb::addr_t imm, bool neg); 217 static Operand BuildImmediate(int64_t imm); 218 static Operand BuildDereference(const Operand &ref); 219 static Operand BuildSum(const Operand &lhs, const Operand &rhs); 220 static Operand BuildProduct(const Operand &lhs, const Operand &rhs); 223 virtual bool ParseOperands(llvm::SmallVectorImpl<Operand> &operands) { in ParseOperands() 261 std::function<bool(const Instruction::Operand &)> [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Disassembler/LLVMC/ |
| H A D | DisassemblerLLVMC.cpp | 734 static std::pair<Operand, llvm::StringRef::const_iterator> 737 Operand ret; in ParseRegisterName() 738 ret.m_type = Operand::Type::Register; in ParseRegisterName() 746 return std::make_pair(Operand(), osi); in ParseRegisterName() 756 return std::make_pair(Operand(), osi); in ParseRegisterName() 763 return std::make_pair(Operand(), osi); in ParseRegisterName() 775 static std::pair<Operand, llvm::StringRef::const_iterator> 778 Operand ret; in ParseImmediate() 779 ret.m_type = Operand::Type::Immediate; in ParseImmediate() 792 return std::make_pair(Operand(), osi); in ParseImmediate() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | Disassembler.cpp | 1207 Instruction::Operand Instruction::Operand::BuildRegister(ConstString &r) { in BuildRegister() 1208 Operand ret; in BuildRegister() 1214 Instruction::Operand Instruction::Operand::BuildImmediate(lldb::addr_t imm, in BuildImmediate() 1216 Operand ret; in BuildImmediate() 1223 Instruction::Operand Instruction::Operand::BuildImmediate(int64_t imm) { in BuildImmediate() 1224 Operand ret; in BuildImmediate() 1236 Instruction::Operand 1237 Instruction::Operand::BuildDereference(const Operand &ref) { in BuildDereference() 1238 Operand ret; in BuildDereference() 1244 Instruction::Operand Instruction::Operand::BuildSum(const Operand &lhs, in BuildSum() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstrBuilder.h | 93 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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCELFStreamer.cpp | 140 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelReloc() local 141 assert(Operand.isExpr() && "Expecting an MCExpr."); in emitGOTToPCRelReloc() 143 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelReloc() 175 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelLabel() local 176 assert(Operand.isExpr() && "Expecting an MCExpr."); in emitGOTToPCRelLabel() 178 const MCExpr *Expr = Operand.getExpr(); in emitGOTToPCRelLabel() 211 const MCOperand &Operand = Inst.getOperand(LastOp); in isPartOfGOTToPCRelPair() local 212 if (!Operand.isExpr()) in isPartOfGOTToPCRelPair() 216 const MCExpr *Expr = Operand.getExpr(); in isPartOfGOTToPCRelPair()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVVMReflect.cpp | 145 const Value *Operand = cast<Constant>(Str)->getOperand(0); in runNVVMReflect() local 146 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Operand)) { in runNVVMReflect() 152 Operand = Initializer; in runNVVMReflect() 155 assert(isa<ConstantDataSequential>(Operand) && in runNVVMReflect() 157 assert(cast<ConstantDataSequential>(Operand)->isCString() && in runNVVMReflect() 160 StringRef ReflectArg = cast<ConstantDataSequential>(Operand)->getAsString(); in runNVVMReflect()
|
| H A D | NVPTXGenericToNVVM.cpp | 108 Value *Operand = II.getOperand(i); in runOnModule() local 109 if (isa<Constant>(Operand)) { in runOnModule() 111 i, remapConstant(&M, &F, cast<Constant>(Operand), Builder)); in runOnModule() 200 Value *Operand = C->getOperand(i); in remapConstantVectorOrConstantAggregate() local 201 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantVectorOrConstantAggregate() 202 OperandChanged |= Operand != NewOperand; in remapConstantVectorOrConstantAggregate() 239 Value *Operand = C->getOperand(i); in remapConstantExpr() local 240 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); in remapConstantExpr() 241 OperandChanged |= Operand != NewOperand; in remapConstantExpr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCRegisterInfo.td | 452 // PowerPC Operand Definitions. 548 def u1imm : Operand<i32> { 558 def u2imm : Operand<i32> { 568 def atimm : Operand<i32> { 578 def u3imm : Operand<i32> { 588 def u4imm : Operand<i32> { 597 def s5imm : Operand<i32> { 607 def u5imm : Operand<i32> { 617 def u6imm : Operand<i32> { 627 def u7imm : Operand<i32> { [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVSymbolicOperands.td | 173 def Extension : GenericEnum, Operand<i32> { 253 def Capability : GenericEnum, Operand<i32> { 257 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>"); 405 def SourceLanguage : GenericEnum, Operand<i32> { 409 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>"); 434 def AddressingModel : GenericEnum, Operand<i32> { 438 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>"); 461 def ExecutionModel : GenericEnum, Operand<i32> { 465 let PrintMethod = !strconcat("printSymbolicOperand<OperandCategory::", FilterClass, "Operand>"); 499 def MemoryModel : GenericEnum, Operand<i32> { [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | StackFrame.cpp | 1239 std::pair<const Instruction::Operand *, int64_t> 1240 GetBaseExplainingValue(const Instruction::Operand &operand, in GetBaseExplainingValue() 1243 case Instruction::Operand::Type::Dereference: in GetBaseExplainingValue() 1244 case Instruction::Operand::Type::Immediate: in GetBaseExplainingValue() 1245 case Instruction::Operand::Type::Invalid: in GetBaseExplainingValue() 1246 case Instruction::Operand::Type::Product: in GetBaseExplainingValue() 1249 case Instruction::Operand::Type::Sum: { in GetBaseExplainingValue() 1250 const Instruction::Operand *immediate_child = nullptr; in GetBaseExplainingValue() 1251 const Instruction::Operand *variable_child = nullptr; in GetBaseExplainingValue() 1252 if (operand.m_children[0].m_type == Instruction::Operand::Type::Immediate) { in GetBaseExplainingValue() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrInfo.td | 130 // Default Operand has AsmOperandClass "Imm" which is for integers (and 137 class FPOperand<ValueType ty> : Operand<ty> { 144 def bb_op : Operand<OtherVT>; 147 def local_op : Operand<i32>; 151 def global_op32 : Operand<i32>; 155 def global_op64 : Operand<i64>; 159 def i32imm_op : Operand<i32>; 162 def i64imm_op : Operand<i64>; 171 def vec_i8imm_op : Operand<i32>; 174 def vec_i16imm_op : Operand<i32>; [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/M68k/AsmParser/ |
| H A D | M68kAsmParser.cpp | 517 M68kOperand &Operand = (M68kOperand &)Op; in validateTargetOperandClass() local 522 if (Operand.isReg() && in validateTargetOperandClass() 523 checkRegisterClass(Operand.getReg(), true, true, true)) { in validateTargetOperandClass() 530 if (Operand.isReg() && in validateTargetOperandClass() 531 checkRegisterClass(Operand.getReg(), false, true, true)) { in validateTargetOperandClass() 537 if (Operand.isReg() && in validateTargetOperandClass() 538 checkRegisterClass(Operand.getReg(), false, true, false)) { in validateTargetOperandClass() 546 if (Operand.isReg() && in validateTargetOperandClass() 547 checkRegisterClass(Operand.getReg(), true, false, false)) { in validateTargetOperandClass() 553 if (Operand.isReg() && in validateTargetOperandClass() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 849 llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand; 853 CXXTypeidExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R) in CXXTypeidExpr() argument 854 : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXTypeidExpr() 859 CXXTypeidExpr(QualType Ty, Expr *Operand, SourceRange R) in CXXTypeidExpr() argument 860 : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXTypeidExpr() 868 Operand = (Expr*)nullptr; in CXXTypeidExpr() 870 Operand = (TypeSourceInfo*)nullptr; in CXXTypeidExpr() 881 bool isTypeOperand() const { return Operand.is<TypeSourceInfo *>(); } in isTypeOperand() 890 return Operand.get<TypeSourceInfo *>(); in getTypeOperandSourceInfo() 894 return static_cast<Expr*>(Operand.get<Stmt *>()); in getExprOperand() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | PseudoLoweringEmitter.cpp | 27 enum MapKind { Operand, Imm, Reg }; enumerator 30 unsigned Operand; // Operand number mapped to. member 105 OperandMap[BaseIdx + i + I].Kind = OpData::Operand; in addDagOperandMapping() 201 if (OperandMap[Insn.Operands[i].MIOperandNo].Kind != OpData::Operand) in evaluateExpansion() 215 OperandMap[Insn.Operands[i].MIOperandNo + I].Data.Operand = in evaluateExpansion() 255 case OpData::Operand: in emitLoweringEmitter() 258 .Operand].MIOperandNo + i in emitLoweringEmitter()
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | tree.def | 375 Operand 0 is the structure or union (an expression). 376 Operand 1 is the field (a node of type FIELD_DECL). 377 Operand 2, if present, is the value of DECL_FIELD_OFFSET, measured 383 Operand 0 is the structure or union expression; 403 Operand 0 is the referenced address (a pointer); 404 Operand 1 is an INTEGER_CST which represents the alignment of the address, 409 Operand 0 is the array; operand 1 is a (single) array index. 410 Operand 2, if present, is a copy of TYPE_MIN_VALUE of the index. 411 Operand 3, if present, is the element size, measured in units of 464 /* Assignment expression. Operand 0 is the what to set; 1, the new value. */ [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperands.td | 24 class ImmediateOp<ValueType vt, string asmop> : Operand<vt> { 25 let PrintMethod = "print"#asmop#"Operand"; 26 let DecoderMethod = "decode"#asmop#"Operand"; 68 class PCRelOperand<ValueType vt, AsmOperandClass asmop> : Operand<vt> { 72 class PCRelTLSOperand<ValueType vt, AsmOperandClass asmop> : Operand<vt> { 85 let MIOperandInfo = (ops !cast<Operand>(self)); 106 : Operand<!cast<ValueType>("i"#bitsize)> { 107 let PrintMethod = "print"#format#"Operand"; 110 "decode"#format#bitsize#"Disp"#dispsize#length#"Operand"; 138 !cast<Operand>("disp"#dispsize#"imm"#bitsize))>; [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | rtl.def | 145 Operand 0 is the operand-number, as in match_operand. 146 Operand 1 is a predicate to apply (as a string, a function name). 147 Operand 2 is a vector of expressions, each of which must match 154 Operand 0 is the operand-number, as in match_operand. 155 Operand 1 is a predicate to apply to the PARALLEL. 156 Operand 2 is a vector of expressions, each of which must match the 171 Operand 0 is the operand number, as in match_operand. 172 Operand 1 is the predicate to apply to the insn. */ 177 Operand: 216 Operand: [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Xtensa/ |
| H A D | XtensaOperands.td | 19 : Operand<vt>, ImmLeaf<vt, pred> { 139 class mem<Operand offset> : Operand<i32> { 177 def pcrel32call : Operand<iPTR> { 184 def brtarget : Operand<OtherVT> { 191 def jumptarget : Operand<OtherVT> { 198 def L32Rtarget : Operand<OtherVT> {
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanValue.h | 221 for (VPValue *Operand : Operands) in VPUser() 222 addOperand(Operand); in VPUser() 230 for (VPValue *Operand : Operands) in VPUser() 231 addOperand(Operand); in VPUser() 245 void addOperand(VPValue *Operand) { in addOperand() argument 246 Operands.push_back(Operand); in addOperand() 247 Operand->addUser(*this); in addOperand()
|