Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/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 …]
H A DARMWinEHPrinter.cpp998 void Decoder::decodeOpcodes(ArrayRef<uint8_t> Opcodes, unsigned Offset, in decodeOpcodes() argument
1003 for (unsigned OI = Offset, OE = Opcodes.size(); !Terminated && OI < OE; ) { in decodeOpcodes()
1008 Opcodes.data()[OI]); in decodeOpcodes()
1013 if ((Opcodes[OI] & DecodeRing[DI].Mask) == DecodeRing[DI].Value) { in decodeOpcodes()
1016 Opcodes[OI]); in decodeOpcodes()
1021 (this->*DecodeRing[DI].Routine)(Opcodes.data(), OI, 0, Prologue); in decodeOpcodes()
1097 ListScope Opcodes(SW, "Opcodes"); in dumpXDataRecord() local
/freebsd-14.2/contrib/llvm-project/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];
H A DX86InstrFMA3Info.cpp173 return Group.Opcodes[FormIndex] < Opcode; in getFMA3Group()
175 assert(I != Table.end() && I->Opcodes[FormIndex] == Opcode && in getFMA3Group()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp128 } const Opcodes; member in __anona5c1c60e0111::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 …]
H A DARMISelDAGToDAG.cpp2577 Opcode = Opcodes[0]; in SelectMVE_WB()
2580 Opcode = Opcodes[1]; in SelectMVE_WB()
2730 Opcodes += 4 * Stride; in SelectBaseMVE_VMLLDAV()
2732 Opcodes += 2 * Stride; in SelectBaseMVE_VMLLDAV()
2734 Opcodes += Stride; in SelectBaseMVE_VMLLDAV()
2794 OurOpcodes = Opcodes[0]; in SelectMVE_VLD()
2797 OurOpcodes = Opcodes[1]; in SelectMVE_VLD()
2800 OurOpcodes = Opcodes[2]; in SelectMVE_VLD()
2849 Opcode = Opcodes[0]; in SelectMVE_VxDUP()
2852 Opcode = Opcodes[1]; in SelectMVE_VxDUP()
[all …]
/freebsd-14.2/contrib/llvm-project/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.cpp283 for (uint8_t Opcode : Opcodes) in emitUnwindRaw()
737 SmallVector<uint8_t, 64> Opcodes; member in __anon42dabcca0111::ARMELFStreamer
1203 Opcodes.clear(); in EHReset()
1253 assert(Opcodes.size() == 4u && in emitFnEnd()
1255 uint64_t Intval = Opcodes[0] | in emitFnEnd()
1256 Opcodes[1] << 8 | in emitFnEnd()
1257 Opcodes[2] << 16 | in emitFnEnd()
1258 Opcodes[3] << 24; in emitFnEnd()
1331 assert((Opcodes.size() % 4) == 0 && in FlushUnwindOpcodes()
1334 uint64_t Intval = Opcodes[I] | in FlushUnwindOpcodes()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp273 uint64_t StartOfRebaseInfo = updateOffset(O.Rebases.Opcodes.size()); in layoutTail()
274 uint64_t StartOfBindingInfo = updateOffset(O.Binds.Opcodes.size()); in layoutTail()
275 uint64_t StartOfWeakBindingInfo = updateOffset(O.WeakBinds.Opcodes.size()); in layoutTail()
276 uint64_t StartOfLazyBindingInfo = updateOffset(O.LazyBinds.Opcodes.size()); in layoutTail()
397 O.Rebases.Opcodes.empty() ? 0 : StartOfRebaseInfo; in layoutTail()
398 MLC.dyld_info_command_data.rebase_size = O.Rebases.Opcodes.size(); in layoutTail()
400 O.Binds.Opcodes.empty() ? 0 : StartOfBindingInfo; in layoutTail()
401 MLC.dyld_info_command_data.bind_size = O.Binds.Opcodes.size(); in layoutTail()
403 O.WeakBinds.Opcodes.empty() ? 0 : StartOfWeakBindingInfo; in layoutTail()
404 MLC.dyld_info_command_data.weak_bind_size = O.WeakBinds.Opcodes.size(); 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.h214 ArrayRef<uint8_t> Opcodes; member
230 ArrayRef<uint8_t> Opcodes; member
248 ArrayRef<uint8_t> Opcodes; member
261 ArrayRef<uint8_t> Opcodes; member
H A DMachOReader.cpp273 O.Rebases.Opcodes = MachOObj.getDyldInfoRebaseOpcodes(); in readRebaseInfo()
277 O.Binds.Opcodes = MachOObj.getDyldInfoBindOpcodes(); in readBindInfo()
281 O.WeakBinds.Opcodes = MachOObj.getDyldInfoWeakBindOpcodes(); in readWeakBindInfo()
285 O.LazyBinds.Opcodes = MachOObj.getDyldInfoLazyBindOpcodes(); in readLazyBindInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp3486 Ptr = Opcodes.begin(); in moveToFirst()
3491 Ptr = Opcodes.end(); in moveToEnd()
3749 if (Ptr > Opcodes.end()) in readULEB128()
3750 Ptr = Opcodes.end(); in readULEB128()
3790 assert(Opcodes == Other.Opcodes && "compare iterators of different files"); in operator ==()
3823 Ptr = Opcodes.begin(); in moveToFirst()
3828 Ptr = Opcodes.end(); in moveToEnd()
4284 if (Ptr > Opcodes.end()) in readULEB128()
4285 Ptr = Opcodes.end(); in readULEB128()
4294 Ptr = Opcodes.end(); in readSLEB128()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DPredicateExpander.cpp143 const RecVec &Opcodes) { in expandCheckOpcode() argument
144 assert(!Opcodes.empty() && "Expected at least one opcode to check!"); in expandCheckOpcode()
147 if (Opcodes.size() == 1) { in expandCheckOpcode()
149 expandCheckOpcode(OS, Opcodes[0]); in expandCheckOpcode()
156 for (const Record *Rec : Opcodes) { in expandCheckOpcode()
173 const RecVec &Opcodes) { in expandCheckPseudo() argument
177 expandCheckOpcode(OS, Opcodes); in expandCheckPseudo()
271 const RecVec &Opcodes = Rec->getValueAsListOfDefs("Opcodes"); in expandOpcodeSwitchCase() local
272 for (const Record *Opcode : Opcodes) { in expandOpcodeSwitchCase()
H A DPredicateExpander.h76 void expandCheckPseudo(raw_ostream &OS, const RecVec &Opcodes);
77 void expandCheckOpcode(raw_ostream &OS, const RecVec &Opcodes);
H A DDecoderEmitter.cpp381 const std::vector<EncodingIDAndOpcode> &Opcodes; member in __anon983fc5010511::FilterChooser
582 Owner->insnWithID(Insn, Owner->Opcodes[i].EncodingID); in Filter()
591 LastOpcFiltered = Owner->Opcodes[i]; in Filter()
597 VariableInstructions.push_back(Owner->Opcodes[i]); in Filter()
1525 unsigned numInstructions = Opcodes.size(); in filterProcessor()
1538 for (auto Opcode : Opcodes) { in filterProcessor()
1588 insnWithID(insn, Opcodes[InsnIndex].EncodingID); in filterProcessor()
1754 unsigned Num = Opcodes.size(); in doFilter()
1780 if (Opcodes.size() == 1) { in emitTableEntries()
1784 emitSingletonTableEntry(TableInfo, Opcodes[0]); in emitTableEntries()
[all …]
H A DCodeGenSchedule.h357 std::vector<const Record *> Opcodes; variable
367 assert(!llvm::is_contained(Opcodes, Opcode) && "Opcode already in set!"); in addOpcode()
368 Opcodes.push_back(Opcode); in addOpcode()
371 ArrayRef<const Record *> getOpcodes() const { return Opcodes; } in getOpcodes()
H A DDAGISelMatcherOpt.cpp423 StringSet<> Opcodes; in FactorNodes() local
427 assert(Opcodes.insert(COM->getOpcode().getEnumName()).second && in FactorNodes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp299 std::initializer_list<unsigned> Opcodes) { in getActionDefinitionsBuilder() argument
300 unsigned Representative = *Opcodes.begin(); in getActionDefinitionsBuilder()
302 assert(Opcodes.size() >= 2 && in getActionDefinitionsBuilder()
305 for (unsigned Op : llvm::drop_begin(Opcodes)) in getActionDefinitionsBuilder()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetInstrPredicate.td199 // Check that the instruction opcode is one of the opcodes in set `Opcodes`.
203 class CheckOpcode<list<Instruction> Opcodes> : MCInstPredicate {
204 list<Instruction> ValidOpcodes = Opcodes;
208 // `Opcodes`. This check is always expanded to "false" if we are generating
210 class CheckPseudo<list<Instruction> Opcodes> : CheckOpcode<Opcodes>;
255 list<Instruction> Opcodes = opcodes;
337 list<Instruction> Opcodes = opcodes;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2369 SmallVectorImpl<uint64_t> &Opcodes, in getSalvageOpsForGEP() argument
2378 Opcodes.insert(Opcodes.begin(), {dwarf::DW_OP_LLVM_arg, 0}); in getSalvageOpsForGEP()
2428 Opcodes.append({dwarf::DW_OP_LLVM_arg, 0}); in handleSSAValueOperands()
2431 Opcodes.append({dwarf::DW_OP_LLVM_arg, CurrentLocOps}); in handleSSAValueOperands()
2452 DIExpression::appendOffset(Opcodes, Offset); in getSalvageOpsForBinOp()
2455 Opcodes.append({dwarf::DW_OP_constu, Val}); in getSalvageOpsForBinOp()
2465 Opcodes.push_back(DwarfBinOp); in getSalvageOpsForBinOp()
2505 Opcodes.push_back(dwarf::DW_OP_consts); in getSalvageOpsForIcmpOp()
2507 Opcodes.push_back(dwarf::DW_OP_constu); in getSalvageOpsForIcmpOp()
2509 Opcodes.push_back(Val); in getSalvageOpsForIcmpOp()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h193 ArrayRef<uint8_t> Opcodes; variable
217 ArrayRef<uint8_t> Opcodes, bool is64Bit, MachOBindEntry::Kind);
245 ArrayRef<uint8_t> Opcodes; variable
550 ArrayRef<uint8_t> Opcodes,
568 ArrayRef<uint8_t> Opcodes,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEFrameLowering.cpp246 std::pair<unsigned, unsigned> Opcodes = getMFHiLoOpc(Src); in expandCopy() local
248 if (!Opcodes.first) in expandCopy()
251 return expandCopyACC(MBB, I, Opcodes.first, Opcodes.second); in expandCopy()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp2111 unsigned Opcodes[] = { in contracting() local
2117 for (int i = 0, e = std::size(Opcodes); i != e; ++i) { in contracting()
2120 Results.push(Opcodes[i], SingleTy, {Vb, Va}); in contracting()
2127 unsigned Opcodes[] = { in contracting() local
2133 for (int i = 0, e = std::size(Opcodes); i != e; ++i) { in contracting()
2136 Results.push(Opcodes[i], SingleTy, {Vb, Va}); in contracting()
2146 unsigned Opcodes[] = { in contracting() local
2154 for (int i = 0, e = std::size(Opcodes); i != e; ++i) { in contracting()
2160 Results.push(Opcodes[i], SingleTy, in contracting()

12