Home
last modified time | relevance | path

Searched defs:inst (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DRISCVCInstructions.h30 constexpr RxC DecodeCR_RD(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCR_RD()
31 constexpr RxC DecodeCI_RD(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCI_RD()
32 constexpr RxC DecodeCR_RS1(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCR_RS1()
33 constexpr RxC DecodeCI_RS1(uint32_t inst) { return RxC{DecodeRD(inst), false}; } in DecodeCI_RS1()
34 constexpr RxC DecodeCR_RS2(uint32_t inst) { in DecodeCR_RS2()
38 constexpr RxC DecodeCIW_RD(uint32_t inst) { return RxC{(inst & 0x1C) >> 2}; } in DecodeCIW_RD()
39 constexpr RxC DecodeCL_RD(uint32_t inst) { return RxC{DecodeCIW_RD(inst)}; } in DecodeCL_RD()
40 constexpr RxC DecodeCA_RD(uint32_t inst) { return RxC{(inst & 0x380) >> 7}; } in DecodeCA_RD()
41 constexpr RxC DecodeCB_RD(uint32_t inst) { return RxC{DecodeCA_RD(inst)}; } in DecodeCB_RD()
43 constexpr RxC DecodeCL_RS1(uint32_t inst) { return RxC{DecodeCA_RD(inst)}; } in DecodeCL_RS1()
[all …]
H A DEmulateInstructionRISCV.cpp70 constexpr uint32_t DecodeJImm(uint32_t inst) { in DecodeJImm() argument
77 constexpr uint32_t DecodeIImm(uint32_t inst) { in DecodeIImm() argument
81 constexpr uint32_t DecodeBImm(uint32_t inst) { in DecodeBImm() argument
88 DecodeSImm(uint32_t inst) DecodeSImm() argument
93 DecodeUImm(uint32_t inst) DecodeUImm() argument
220 LoadStoreAddr(EmulateInstructionRISCV & emulator,I inst) LoadStoreAddr() argument
229 Load(EmulateInstructionRISCV & emulator,I inst,uint64_t (* extend)(E)) Load() argument
241 Store(EmulateInstructionRISCV & emulator,I inst) Store() argument
255 AtomicAddr(EmulateInstructionRISCV & emulator,I inst,unsigned int align) AtomicAddr() argument
267 AtomicSwap(EmulateInstructionRISCV & emulator,I inst,int align,uint64_t (* extend)(T)) AtomicSwap() argument
284 AtomicADD(EmulateInstructionRISCV & emulator,I inst,int align,uint64_t (* extend)(T)) AtomicADD() argument
301 AtomicBitOperate(EmulateInstructionRISCV & emulator,I inst,int align,uint64_t (* extend)(T),T (* operate)(T,T)) AtomicBitOperate() argument
318 AtomicCmp(EmulateInstructionRISCV & emulator,I inst,int align,uint64_t (* extend)(T),T (* cmp)(T,T)) AtomicCmp() argument
348 auto inst = emulator.ReadInstructionAt(current_pc); AtomicSequence() local
384 DecodeUType(uint32_t inst) DecodeUType() argument
388 DecodeJType(uint32_t inst) DecodeJType() argument
392 DecodeIType(uint32_t inst) DecodeIType() argument
396 DecodeBType(uint32_t inst) DecodeBType() argument
401 DecodeSType(uint32_t inst) DecodeSType() argument
405 DecodeRType(uint32_t inst) DecodeRType() argument
409 DecodeRShamtType(uint32_t inst) DecodeRShamtType() argument
413 DecodeRRS1Type(uint32_t inst) DecodeRRS1Type() argument
417 DecodeR4Type(uint32_t inst) DecodeR4Type() argument
621 Decode(uint32_t inst) Decode() argument
666 operator ()(LUI inst) operator ()() argument
667 operator ()(AUIPC inst) operator ()() argument
675 operator ()(JAL inst) operator ()() argument
683 operator ()(JALR inst) operator ()() argument
693 operator ()(B inst) operator ()() argument
705 operator ()(LB inst) operator ()() argument
708 operator ()(LH inst) operator ()() argument
711 operator ()(LW inst) operator ()() argument
714 operator ()(LBU inst) operator ()() argument
717 operator ()(LHU inst) operator ()() argument
720 operator ()(SB inst) operator ()() argument
721 operator ()(SH inst) operator ()() argument
722 operator ()(SW inst) operator ()() argument
723 operator ()(ADDI inst) operator ()() argument
731 operator ()(SLTI inst) operator ()() argument
739 operator ()(SLTIU inst) operator ()() argument
747 operator ()(XORI inst) operator ()() argument
755 operator ()(ORI inst) operator ()() argument
763 operator ()(ANDI inst) operator ()() argument
771 operator ()(ADD inst) operator ()() argument
779 operator ()(SUB inst) operator ()() argument
787 operator ()(SLL inst) operator ()() argument
796 operator ()(SLT inst) operator ()() argument
805 operator ()(SLTU inst) operator ()() argument
813 operator ()(XOR inst) operator ()() argument
821 operator ()(SRL inst) operator ()() argument
830 operator ()(SRA inst) operator ()() argument
839 operator ()(OR inst) operator ()() argument
847 operator ()(AND inst) operator ()() argument
855 operator ()(LWU inst) operator ()() argument
858 operator ()(LD inst) operator ()() argument
861 operator ()(SD inst) operator ()() argument
862 operator ()(SLLI inst) operator ()() argument
869 operator ()(SRLI inst) operator ()() argument
876 operator ()(SRAI inst) operator ()() argument
883 operator ()(ADDIW inst) operator ()() argument
891 operator ()(SLLIW inst) operator ()() argument
899 operator ()(SRLIW inst) operator ()() argument
907 operator ()(SRAIW inst) operator ()() argument
915 operator ()(ADDW inst) operator ()() argument
924 operator ()(SUBW inst) operator ()() argument
933 operator ()(SLLW inst) operator ()() argument
942 operator ()(SRLW inst) operator ()() argument
951 operator ()(SRAW inst) operator ()() argument
961 operator ()(MUL inst) operator ()() argument
969 operator ()(MULH inst) operator ()() argument
981 operator ()(MULHSU inst) operator ()() argument
994 operator ()(MULHU inst) operator ()() argument
1006 operator ()(DIV inst) operator ()() argument
1022 operator ()(DIVU inst) operator ()() argument
1034 operator ()(REM inst) operator ()() argument
1050 operator ()(REMU inst) operator ()() argument
1062 operator ()(MULW inst) operator ()() argument
1071 operator ()(DIVW inst) operator ()() argument
1087 operator ()(DIVUW inst) operator ()() argument
1100 operator ()(REMW inst) operator ()() argument
1116 operator ()(REMUW inst) operator ()() argument
1138 operator ()(AMOSWAP_W inst) operator ()() argument
1141 operator ()(AMOADD_W inst) operator ()() argument
1144 operator ()(AMOXOR_W inst) operator ()() argument
1148 operator ()(AMOAND_W inst) operator ()() argument
1152 operator ()(AMOOR_W inst) operator ()() argument
1156 operator ()(AMOMIN_W inst) operator ()() argument
1162 operator ()(AMOMAX_W inst) operator ()() argument
1168 operator ()(AMOMINU_W inst) operator ()() argument
1173 operator ()(AMOMAXU_W inst) operator ()() argument
1178 operator ()(AMOSWAP_D inst) operator ()() argument
1181 operator ()(AMOADD_D inst) operator ()() argument
1184 operator ()(AMOXOR_D inst) operator ()() argument
1188 operator ()(AMOAND_D inst) operator ()() argument
1192 operator ()(AMOOR_D inst) operator ()() argument
1196 operator ()(AMOMIN_D inst) operator ()() argument
1202 operator ()(AMOMAX_D inst) operator ()() argument
1208 operator ()(AMOMINU_D inst) operator ()() argument
1213 operator ()(AMOMAXU_D inst) operator ()() argument
1219 F_Load(T inst,const fltSemantics & (* semantics)(),unsigned int numBits) F_Load() argument
1230 operator ()(FLW inst) operator ()() argument
1231 F_Store(T inst,bool isDouble) F_Store() argument
1243 operator ()(FSW inst) operator ()() argument
1251 FMA(T inst,bool isDouble,float rs2_sign,float rs3_sign) FMA() argument
1264 operator ()(FMADD_S inst) operator ()() argument
1265 operator ()(FMSUB_S inst) operator ()() argument
1266 operator ()(FNMSUB_S inst) operator ()() argument
1267 operator ()(FNMADD_S inst) operator ()() argument
1269 F_Op(T inst,bool isDouble,APFloat::opStatus (APFloat::* f)(const APFloat & RHS,APFloat::roundingMode RM)) F_Op() argument
1283 operator ()(FADD_S inst) operator ()() argument
1284 operator ()(FSUB_S inst) operator ()() argument
1285 operator ()(FMUL_S inst) operator ()() argument
1286 operator ()(FDIV_S inst) operator ()() argument
1287 operator ()(FSQRT_S inst) operator ()() argument
1291 F_SignInj(T inst,bool isDouble,bool isNegate) F_SignInj() argument
1303 operator ()(FSGNJ_S inst) operator ()() argument
1304 operator ()(FSGNJN_S inst) operator ()() argument
1305 F_SignInjXor(T inst,bool isDouble) F_SignInjXor() argument
1324 operator ()(FSGNJX_S inst) operator ()() argument
1326 F_MAX_MIN(T inst,bool isDouble,APFloat (* f)(const APFloat & A,const APFloat & B)) F_MAX_MIN() argument
1347 operator ()(FMIN_S inst) operator ()() argument
1348 operator ()(FMAX_S inst) operator ()() argument
1349 operator ()(FCVT_W_S inst) operator ()() argument
1353 operator ()(FCVT_WU_S inst) operator ()() argument
1357 FMV_f2i(T inst,bool isDouble) FMV_f2i() argument
1375 operator ()(FMV_X_W inst) operator ()() argument
1381 F_Compare(T inst,bool isDouble,F_CMP cmp) F_Compare() argument
1414 operator ()(FEQ_S inst) operator ()() argument
1415 operator ()(FLT_S inst) operator ()() argument
1416 operator ()(FLE_S inst) operator ()() argument
1417 FCLASS(T inst,bool isDouble) FCLASS() argument
1451 operator ()(FCLASS_S inst) operator ()() argument
1453 FCVT_f2i(T inst,std::optional<E> (Rs::* f)(EmulateInstructionRISCV & emu),const fltSemantics & semantics) FCVT_f2i() argument
1462 operator ()(FCVT_S_W inst) operator ()() argument
1465 operator ()(FCVT_S_WU inst) operator ()() argument
1469 FMV_i2f(T inst,unsigned int numBits,E (APInt::* f)()const) FMV_i2f() argument
1480 operator ()(FMV_W_X inst) operator ()() argument
1484 FCVT_i2f(I inst,bool isDouble,T (APFloat::* f)()const) FCVT_i2f() argument
1492 operator ()(FCVT_L_S inst) operator ()() argument
1496 operator ()(FCVT_LU_S inst) operator ()() argument
1500 operator ()(FCVT_S_L inst) operator ()() argument
1503 operator ()(FCVT_S_LU inst) operator ()() argument
1506 operator ()(FLD inst) operator ()() argument
1507 operator ()(FSD inst) operator ()() argument
1508 operator ()(FMADD_D inst) operator ()() argument
1509 operator ()(FMSUB_D inst) operator ()() argument
1510 operator ()(FNMSUB_D inst) operator ()() argument
1511 operator ()(FNMADD_D inst) operator ()() argument
1512 operator ()(FADD_D inst) operator ()() argument
1513 operator ()(FSUB_D inst) operator ()() argument
1514 operator ()(FMUL_D inst) operator ()() argument
1515 operator ()(FDIV_D inst) operator ()() argument
1516 operator ()(FSQRT_D inst) operator ()() argument
1520 operator ()(FSGNJ_D inst) operator ()() argument
1521 operator ()(FSGNJN_D inst) operator ()() argument
1522 operator ()(FSGNJX_D inst) operator ()() argument
1523 operator ()(FMIN_D inst) operator ()() argument
1524 operator ()(FMAX_D inst) operator ()() argument
1525 operator ()(FCVT_S_D inst) operator ()() argument
1534 operator ()(FCVT_D_S inst) operator ()() argument
1543 operator ()(FEQ_D inst) operator ()() argument
1544 operator ()(FLT_D inst) operator ()() argument
1545 operator ()(FLE_D inst) operator ()() argument
1546 operator ()(FCLASS_D inst) operator ()() argument
1547 operator ()(FCVT_W_D inst) operator ()() argument
1551 operator ()(FCVT_WU_D inst) operator ()() argument
1555 operator ()(FCVT_D_W inst) operator ()() argument
1558 operator ()(FCVT_D_WU inst) operator ()() argument
1561 operator ()(FCVT_L_D inst) operator ()() argument
1565 operator ()(FCVT_LU_D inst) operator ()() argument
1569 operator ()(FMV_X_D inst) operator ()() argument
1570 operator ()(FCVT_D_L inst) operator ()() argument
1573 operator ()(FCVT_D_LU inst) operator ()() argument
1576 operator ()(FMV_D_X inst) operator ()() argument
1579 operator ()(INVALID inst) operator ()() argument
1580 operator ()(RESERVED inst) operator ()() argument
1581 operator ()(EBREAK inst) operator ()() argument
1582 operator ()(HINT inst) operator ()() argument
1583 operator ()(NOP inst) operator ()() argument
1586 Execute(DecodeResult inst,bool ignore_cond) Execute() argument
1617 __anonc338362e5602(uint32_t inst) ReadInstructionAt() argument
1626 auto inst = ReadInstructionAt(*addr); ReadInstruction() local
[all...]
H A DRISCVInstructions.h310 uint32_t inst; member
315 constexpr uint32_t DecodeRD(uint32_t inst) { return (inst & 0xF80) >> 7; } in DecodeRD()
316 constexpr uint32_t DecodeRS1(uint32_t inst) { return (inst & 0xF8000) >> 15; } in DecodeRS1()
317 constexpr uint32_t DecodeRS2(uint32_t inst) { return (inst & 0x1F00000) >> 20; } in DecodeRS2()
318 constexpr uint32_t DecodeRS3(uint32_t inst) { in DecodeRS3()
321 constexpr uint32_t DecodeFunct3(uint32_t inst) { return (inst & 0x7000) >> 12; } in DecodeFunct3()
322 constexpr uint32_t DecodeFunct2(uint32_t inst) { in DecodeFunct2()
325 constexpr uint32_t DecodeFunct7(uint32_t inst) { in DecodeFunct7()
329 constexpr int32_t DecodeRM(uint32_t inst) { return DecodeFunct3(inst); } in DecodeRM()
/llvm-project/lldb/source/Plugins/Instruction/LoongArch/
H A DEmulateInstructionLoongArch.cpp36 EmulateInstructionLoongArch::GetOpcodeForInstruction(uint32_t inst) { in GetOpcodeForInstruction()
75 bool EmulateInstructionLoongArch::TestExecute(uint32_t inst) { in TestExecute()
87 uint32_t inst = m_opcode.GetOpcode32(); in EvaluateInstruction() local
128 uint32_t inst = (uint32_t)ReadMemoryUnsigned(ctx, m_addr, 4, 0, &success); in ReadInstruction() local
216 bool EmulateInstructionLoongArch::EmulateBEQZ(uint32_t inst) { in EmulateBEQZ()
220 bool EmulateInstructionLoongArch::EmulateBNEZ(uint32_t inst) { in EmulateBNEZ()
224 bool EmulateInstructionLoongArch::EmulateBCEQZ(uint32_t inst) { in EmulateBCEQZ()
228 bool EmulateInstructionLoongArch::EmulateBCNEZ(uint32_t inst) { in EmulateBCNEZ()
232 bool EmulateInstructionLoongArch::EmulateJIRL(uint32_t inst) { in EmulateJIRL()
236 bool EmulateInstructionLoongArch::EmulateB(uint32_t inst) { in EmulateB()
[all …]
/llvm-project/lldb/include/lldb/Core/
H A DOpcode.h43 Opcode(uint8_t inst, lldb::ByteOrder order) in Opcode()
48 Opcode(uint16_t inst, lldb::ByteOrder order) in Opcode()
53 Opcode(uint32_t inst, lldb::ByteOrder order) in Opcode()
58 Opcode(uint64_t inst, lldb::ByteOrder order) in Opcode()
159 void SetOpcode8(uint8_t inst, lldb::ByteOrder order) { in SetOpcode8()
165 void SetOpcode16(uint16_t inst, lldb::ByteOrder order) { in SetOpcode16()
171 void SetOpcode16_2(uint32_t inst, lldb::ByteOrder order) { in SetOpcode16_2()
177 void SetOpcode32(uint32_t inst, lldb::ByteOrder order) { in SetOpcode32()
183 void SetOpcode64(uint64_t inst, lldb::ByteOrder order) { in SetOpcode64()
273 } inst; member
/llvm-project/clang/test/CodeGenCXX/
H A Dcall-conv-thru-alias.cpp6 static Derived inst; member
11 Derived Derived::inst; member in Derived
H A Dattr-used-member-function-implicit-instantiation.cpp17 S<int> inst; in test() local
/llvm-project/clang/test/CodeGenObjC/
H A Darc-compound-stmt.m11 - (void)inst; method
16 - (void)inst; method
/llvm-project/clang/test/SemaCXX/
H A Daddr-label-in-coroutines.cpp15 resumable f1(int &out, int *inst) { in f1()
32 resumable f2(int &out, int *inst) { in f2()
50 resumable f3(int &out, int *inst) { in f3()
/llvm-project/lld/ELF/Arch/
H A DX86.cpp215 const uint8_t inst[] = { writePlt() local
223 const uint8_t inst[] = { writePlt() local
356 const uint8_t inst[] = { relaxTlsGdToLe() local
390 const uint8_t inst[] = { relaxTlsGdToIe() local
464 const uint8_t inst[] = { relaxTlsLdToLe() local
477 const uint8_t inst[] = { relaxTlsLdToLe() local
542 const uint8_t inst[] = { writePlt() local
552 const uint8_t inst[] = { writePlt() local
565 const uint8_t inst[] = { writeIBTPlt() local
[all...]
H A DX86_64.cpp443 const uint8_t inst[] = { writePlt() local
471 const uint8_t inst[] = { relaxTlsGdToLe() local
511 const uint8_t inst[] = { relaxTlsGdToIe() local
544 uint8_t *inst = loc - 3; relaxTlsIeToLe() local
585 const uint8_t inst[] = { relaxTlsLdToLe() local
1095 const uint8_t inst[] = { writeIBTPlt() local
[all...]
/llvm-project/lldb/include/lldb/Utility/
H A DRegisterValue.h58 explicit RegisterValue(uint8_t inst) : m_type(eTypeUInt8) { m_scalar = inst; } in RegisterValue()
60 explicit RegisterValue(uint16_t inst) : m_type(eTypeUInt16) { in RegisterValue()
64 explicit RegisterValue(uint32_t inst) : m_type(eTypeUInt32) { in RegisterValue()
68 explicit RegisterValue(uint64_t inst) : m_type(eTypeUInt64) { in RegisterValue()
72 explicit RegisterValue(llvm::APInt inst) : m_type(eTypeUInt128) { in RegisterValue()
/llvm-project/mlir/include/mlir/Target/LLVMIR/
H A DLLVMImportInterface.h49 convertIntrinsic(OpBuilder &builder, llvm::CallInst *inst, in convertIntrinsic() argument
57 convertInstruction(OpBuilder &builder, llvm::Instruction *inst, in convertInstruction() argument
151 convertIntrinsic(OpBuilder & builder,llvm::CallInst * inst,LLVM::ModuleImport & moduleImport) convertIntrinsic() argument
172 convertInstruction(OpBuilder & builder,llvm::Instruction * inst,ArrayRef<llvm::Value * > llvmOperands,LLVM::ModuleImport & moduleImport) convertInstruction() argument
/llvm-project/clang/test/Parser/
H A Dgeneric-selection-type-extension.c51 struct inst { struct
57 _Generic(S<int>::T<inst>::foo, int : 1); in cpp_test() argument
/llvm-project/mlir/lib/Target/LLVMIR/Dialect/NVVM/
H A DLLVMIRToNVVMTranslation.cpp43 convertIntrinsicImpl(OpBuilder & odsBuilder,llvm::CallInst * inst,LLVM::ModuleImport & moduleImport) convertIntrinsicImpl() argument
68 convertIntrinsic(OpBuilder & builder,llvm::CallInst * inst,LLVM::ModuleImport & moduleImport) const convertIntrinsic() argument
/llvm-project/lldb/unittests/Instruction/LoongArch/
H A DTestLoongArchEmulator.cpp175 uint32_t inst = 0b01001100000000000100000110000001; in TEST_F() local
193 uint32_t inst = 0b01010000000000000100000000000001; in TEST_F() local
208 uint32_t inst = 0b01010100000000000100000000000001; in TEST_F() local
227 uint32_t inst = encoder(12, 13, -256); in testBcondBranch() local
242 uint32_t inst = encoder(4, -256); in testBZcondBranch() local
257 uint32_t inst = encoder(0, 256); in testBCZcondBranch() local
/llvm-project/mlir/test/lib/Dialect/Test/
H A DTestFromLLVMIRTranslation.cpp39 static LogicalResult convertLoad(OpBuilder &builder, llvm::Instruction *inst, in convertLoad()
61 convertInstruction(OpBuilder &builder, llvm::Instruction *inst, in convertInstruction()
/llvm-project/clang/test/Analysis/
H A Dos_object_base.h13 #define OSDynamicCast(type, inst) \ argument
15 #define OSRequiredCast(type, inst) \ argument
/llvm-project/clang/test/Index/
H A Dcursor-ref-names.cpp17 Sub inst; in main() local
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp179 m_to_instrument.push_back(&inst); in RegisterInstruction() argument
315 InstrumentInstruction(llvm::Instruction * inst) InstrumentInstruction() argument
371 InstrumentInstruction(llvm::Instruction * inst) InstrumentInstruction() argument
445 GetCalledFunction(llvm::CallInst * inst) GetCalledFunction() argument
[all...]
/llvm-project/clang/test/SemaOpenACC/
H A Dsub-array-ast.cpp562 void inst() { in inst() function
H A Dcompute-construct-attach-clause.cpp117 void inst() { in inst() function
H A Dcompute-construct-deviceptr-clause.cpp117 void inst() { in inst() function
/llvm-project/lldb/source/API/
H A DSBInstructionList.cpp63 SBInstruction inst; in GetInstructionAtIndex() local
155 Instruction *inst = GetDescription() local
/llvm-project/clang/test/Modules/Inputs/codegen/
H A Dfoo.h23 void inst() { in inst() function

123