Home
last modified time | relevance | path

Searched refs:Opcodes (Results 1 – 25 of 84) sorted by relevance

1234

/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.h38 bool opcode_0xxxxxxx(const uint8_t *Opcodes, unsigned &Offset,
40 bool opcode_10Lxxxxx(const uint8_t *Opcodes, unsigned &Offset,
42 bool opcode_1100xxxx(const uint8_t *Opcodes, unsigned &Offset,
44 bool opcode_11010Lxx(const uint8_t *Opcodes, unsigned &Offset,
46 bool opcode_11011Lxx(const uint8_t *Opcodes, unsigned &Offset,
48 bool opcode_11100xxx(const uint8_t *Opcodes, unsigned &Offset,
50 bool opcode_111010xx(const uint8_t *Opcodes, unsigned &Offset,
52 bool opcode_1110110L(const uint8_t *Opcodes, unsigned &Offset,
54 bool opcode_11101110(const uint8_t *Opcodes, unsigned &Offset,
56 bool opcode_11101111(const uint8_t *Opcodes, unsigned &Offset,
[all …]
H A DARMEHABIPrinter.h99 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_00xxxxxx()
105 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_01xxxxxx()
111 uint8_t Opcode0 = Opcodes[OI++ ^ 3]; in Decode_1000iiii_iiiiiiii()
124 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10011101()
129 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10011111()
134 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_1001nnnn()
139 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10100nnn()
146 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10101nnn()
153 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10110000()
169 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10110010_uleb128()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrFMA3Info.h26 uint16_t Opcodes[3]; member
56 return Opcodes[Form132]; in get132Opcode()
61 return Opcodes[Form213]; in get213Opcode()
66 return Opcodes[Form231]; in get231Opcode()
86 return Opcodes[0] < RHS.Opcodes[0];
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp128 } const Opcodes; member in __anona0e575c80111::ARMInstructionSelector
175 STI(STI), Opcodes(STI), in ARMInstructionSelector()
347 return Size == 8 ? Opcodes.SEXT8 : Opcodes.SEXT16; in selectSimpleExtOpc()
350 return Size == 8 ? Opcodes.ZEXT8 : Opcodes.ZEXT16; in selectSimpleExtOpc()
364 return isStore ? Opcodes.STORE8 : Opcodes.LOAD8; in selectLoadStoreOpCode()
366 return isStore ? Opcodes.STORE16 : Opcodes.LOAD16; in selectLoadStoreOpCode()
368 return isStore ? Opcodes.STORE32 : Opcodes.LOAD32; in selectLoadStoreOpCode()
714 unsigned Opc = UseMovt ? Opcodes.MOV_ga_pcrel : Opcodes.LDRLIT_ga_pcrel; in selectGlobal()
874 I.setDesc(TII.get(Opcodes.AND)); in select()
1067 I.setDesc(TII.get(Opcodes.ADDrr)); in select()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DSerialSnippetGenerator.cpp42 std::vector<unsigned> Opcodes; in computeAliasingInstructions() local
43 Opcodes.resize(State.getInstrInfo().getNumOpcodes()); in computeAliasingInstructions()
44 std::iota(Opcodes.begin(), Opcodes.end(), 0U); in computeAliasingInstructions()
45 llvm::shuffle(Opcodes.begin(), Opcodes.end(), randomGenerator()); in computeAliasingInstructions()
48 for (const unsigned OtherOpcode : Opcodes) { in computeAliasingInstructions()
/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMUnwindOpAsm.h62 void EmitRaw(const SmallVectorImpl<uint8_t> &Opcodes) { in EmitRaw() argument
63 Ops.insert(Ops.end(), Opcodes.begin(), Opcodes.end()); in EmitRaw()
64 OpBegins.push_back(OpBegins.back() + Opcodes.size()); in EmitRaw()
H A DARMELFStreamer.cpp278 for (uint8_t Opcode : Opcodes) in emitUnwindRaw()
732 SmallVector<uint8_t, 64> Opcodes; member in __anon948350c40111::ARMELFStreamer
1199 Opcodes.clear(); in EHReset()
1249 assert(Opcodes.size() == 4u && in emitFnEnd()
1251 uint64_t Intval = Opcodes[0] | in emitFnEnd()
1252 Opcodes[1] << 8 | in emitFnEnd()
1253 Opcodes[2] << 16 | in emitFnEnd()
1254 Opcodes[3] << 24; in emitFnEnd()
1327 assert((Opcodes.size() % 4) == 0 && in FlushUnwindOpcodes()
1330 uint64_t Intval = Opcodes[I] | in FlushUnwindOpcodes()
[all …]
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Deh-directive-unwind_raw.s64 @ CHECK: Opcodes [
72 @ CHECK: Opcodes [
82 @ CHECK: Opcodes [
93 @ CHECK: Opcodes [
101 @ CHECK: Opcodes [
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp245 uint64_t StartOfBindingInfo = StartOfRebaseInfo + O.Rebases.Opcodes.size(); in layoutTail()
248 StartOfWeakBindingInfo + O.WeakBinds.Opcodes.size(); in layoutTail()
250 StartOfLazyBindingInfo + O.LazyBinds.Opcodes.size(); in layoutTail()
371 O.Rebases.Opcodes.empty() ? 0 : StartOfRebaseInfo; in layoutTail()
372 MLC.dyld_info_command_data.rebase_size = O.Rebases.Opcodes.size(); in layoutTail()
374 O.Binds.Opcodes.empty() ? 0 : StartOfBindingInfo; in layoutTail()
375 MLC.dyld_info_command_data.bind_size = O.Binds.Opcodes.size(); in layoutTail()
377 O.WeakBinds.Opcodes.empty() ? 0 : StartOfWeakBindingInfo; in layoutTail()
378 MLC.dyld_info_command_data.weak_bind_size = O.WeakBinds.Opcodes.size(); in layoutTail()
380 O.LazyBinds.Opcodes.empty() ? 0 : StartOfLazyBindingInfo; in layoutTail()
[all …]
H A DMachOWriter.cpp59 assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && in totalSize()
64 assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && in totalSize()
69 assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && in totalSize()
324 assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && in writeRebaseInfo()
326 memcpy(Out, O.Rebases.Opcodes.data(), O.Rebases.Opcodes.size()); in writeRebaseInfo()
336 assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && in writeBindInfo()
338 memcpy(Out, O.Binds.Opcodes.data(), O.Binds.Opcodes.size()); in writeBindInfo()
348 assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && in writeWeakBindInfo()
350 memcpy(Out, O.WeakBinds.Opcodes.data(), O.WeakBinds.Opcodes.size()); in writeWeakBindInfo()
360 assert((DyLdInfoCommand.lazy_bind_size == O.LazyBinds.Opcodes.size()) && in writeLazyBindInfo()
[all …]
H A DMachOObject.h218 ArrayRef<uint8_t> Opcodes; member
234 ArrayRef<uint8_t> Opcodes; member
252 ArrayRef<uint8_t> Opcodes; member
265 ArrayRef<uint8_t> Opcodes; member
H A DMachOReader.cpp268 O.Rebases.Opcodes = MachOObj.getDyldInfoRebaseOpcodes(); in readRebaseInfo()
272 O.Binds.Opcodes = MachOObj.getDyldInfoBindOpcodes(); in readBindInfo()
276 O.WeakBinds.Opcodes = MachOObj.getDyldInfoWeakBindOpcodes(); in readWeakBindInfo()
280 O.LazyBinds.Opcodes = MachOObj.getDyldInfoLazyBindOpcodes(); in readLazyBindInfo()
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOObjectFile.cpp3301 Ptr = Opcodes.begin(); in moveToFirst()
3306 Ptr = Opcodes.end(); in moveToEnd()
3564 if (Ptr > Opcodes.end()) in readULEB128()
3565 Ptr = Opcodes.end(); in readULEB128()
3605 assert(Opcodes == Other.Opcodes && "compare iterators of different files"); in operator ==()
3638 Ptr = Opcodes.begin(); in moveToFirst()
3643 Ptr = Opcodes.end(); in moveToEnd()
4099 if (Ptr > Opcodes.end()) in readULEB128()
4100 Ptr = Opcodes.end(); in readULEB128()
4109 Ptr = Opcodes.end(); in readSLEB128()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DPredicateExpander.cpp118 const RecVec &Opcodes) { in expandCheckOpcode() argument
119 assert(!Opcodes.empty() && "Expected at least one opcode to check!"); in expandCheckOpcode()
122 if (Opcodes.size() == 1) { in expandCheckOpcode()
124 expandCheckOpcode(OS, Opcodes[0]); in expandCheckOpcode()
131 for (const Record *Rec : Opcodes) { in expandCheckOpcode()
148 const RecVec &Opcodes) { in expandCheckPseudo() argument
152 expandCheckOpcode(OS, Opcodes); in expandCheckPseudo()
241 const RecVec &Opcodes = Rec->getValueAsListOfDefs("Opcodes"); in expandOpcodeSwitchCase() local
242 for (const Record *Opcode : Opcodes) { in expandOpcodeSwitchCase()
H A DPredicateExpander.h72 void expandCheckPseudo(raw_ostream &OS, const RecVec &Opcodes);
73 void expandCheckOpcode(raw_ostream &OS, const RecVec &Opcodes);
H A DCodeGenSchedule.h351 std::vector<const Record *> Opcodes; variable
361 assert(!llvm::is_contained(Opcodes, Opcode) && "Opcode already in set!"); in addOpcode()
362 Opcodes.push_back(Opcode); in addOpcode()
365 ArrayRef<const Record *> getOpcodes() const { return Opcodes; } in getOpcodes()
H A DDecoderEmitter.cpp391 const std::vector<EncodingIDAndOpcode> &Opcodes; member in __anoncf345abb0511::FilterChooser
592 Owner->insnWithID(Insn, Owner->Opcodes[i].EncodingID); in Filter()
601 LastOpcFiltered = Owner->Opcodes[i]; in Filter()
607 VariableInstructions.push_back(Owner->Opcodes[i]); in Filter()
1535 unsigned numInstructions = Opcodes.size(); in filterProcessor()
1548 for (auto Opcode : Opcodes) { in filterProcessor()
1598 insnWithID(insn, Opcodes[InsnIndex].EncodingID); in filterProcessor()
1764 unsigned Num = Opcodes.size(); in doFilter()
1790 if (Opcodes.size() == 1) { in emitTableEntries()
1794 emitSingletonTableEntry(TableInfo, Opcodes[0]); in emitTableEntries()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DCMakeLists.txt11 clang_tablegen(Opcodes.inc
13 SOURCE Interp/Opcodes.td
14 TARGET Opcodes)
129 Opcodes
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp296 std::initializer_list<unsigned> Opcodes) { in getActionDefinitionsBuilder() argument
297 unsigned Representative = *Opcodes.begin(); in getActionDefinitionsBuilder()
299 assert(!llvm::empty(Opcodes) && Opcodes.begin() + 1 != Opcodes.end() && in getActionDefinitionsBuilder()
302 for (unsigned Op : llvm::drop_begin(Opcodes)) in getActionDefinitionsBuilder()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ARM/
H A Dunwind-non-relocatable.test20 # UNWIND-NEXT: Opcodes [
31 # UNWIND-NEXT: Opcodes [
41 # UNWIND-NEXT: Opcodes [
56 # UNWIND-NEXT: Opcodes [
/llvm-project-15.0.7/llvm/unittests/IR/
H A DVPIntrinsicTest.cpp255 std::vector<unsigned> Opcodes; in TEST_F() local
256 Opcodes.reserve(100); in TEST_F()
259 #define HANDLE_INST(OCNum, OCName, Class) Opcodes.push_back(OCNum); in TEST_F()
264 for (unsigned OC : Opcodes) { in TEST_F()
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn3 clang_tablegen("Opcodes") {
6 td_file = "Interp/Opcodes.td"
20 ":Opcodes",
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/COFF/
H A Dunwind-arm64-windows.test50 UNWIND2-NEXT: Opcodes [
60 UNWIND2-NEXT: Opcodes [
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/
H A Dpacbti-m-outliner-4.ll181 ; UNWIND: Opcodes
189 ; UNWIND: Opcodes
195 ; UNWIND: Opcodes
201 ; UNWIND: Opcodes
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetInstrPredicate.td165 // Check that the instruction opcode is one of the opcodes in set `Opcodes`.
169 class CheckOpcode<list<Instruction> Opcodes> : MCInstPredicate {
170 list<Instruction> ValidOpcodes = Opcodes;
174 // `Opcodes`. This check is always expanded to "false" if we are generating
176 class CheckPseudo<list<Instruction> Opcodes> : CheckOpcode<Opcodes>;
215 list<Instruction> Opcodes = opcodes;
297 list<Instruction> Opcodes = opcodes;

1234