Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
170 uint8_t Opcode = Opcodes[OI++ ^ 3]; in Decode_10110010_uleb128()
[all …]
H A DARMWinEHPrinter.cpp874 void Decoder::decodeOpcodes(ArrayRef<uint8_t> Opcodes, unsigned Offset, in decodeOpcodes() argument
879 for (unsigned OI = Offset, OE = Opcodes.size(); !Terminated && OI < OE; ) { in decodeOpcodes()
884 Opcodes.data()[OI]); in decodeOpcodes()
889 if ((Opcodes[OI] & DecodeRing[DI].Mask) == DecodeRing[DI].Value) { in decodeOpcodes()
892 Opcodes[OI]); in decodeOpcodes()
897 (this->*DecodeRing[DI].Routine)(Opcodes.data(), OI, 0, Prologue); in decodeOpcodes()
972 ListScope Opcodes(SW, "Opcodes"); in dumpXDataRecord() local
/freebsd-13.1/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.cpp159 return Group.Opcodes[FormIndex] < Opcode; in getFMA3Group()
161 assert(I != Table.end() && I->Opcodes[FormIndex] == Opcode && in getFMA3Group()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp128 } const Opcodes; member in __anon9fac60cc0111::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()
735 MIB->setDesc(TII.get(Opcodes.ADDrr)); in selectGlobal()
874 I.setDesc(TII.get(Opcodes.AND)); in select()
1067 I.setDesc(TII.get(Opcodes.ADDrr)); in select()
[all …]
H A DARMISelDAGToDAG.cpp2566 Opcode = Opcodes[0]; in SelectMVE_WB()
2569 Opcode = Opcodes[1]; in SelectMVE_WB()
2722 Opcodes += 4 * Stride; in SelectBaseMVE_VMLLDAV()
2724 Opcodes += 2 * Stride; in SelectBaseMVE_VMLLDAV()
2726 Opcodes += Stride; in SelectBaseMVE_VMLLDAV()
2786 OurOpcodes = Opcodes[0]; in SelectMVE_VLD()
2789 OurOpcodes = Opcodes[1]; in SelectMVE_VLD()
2792 OurOpcodes = Opcodes[2]; in SelectMVE_VLD()
2841 Opcode = Opcodes[0]; in SelectMVE_VxDUP()
2844 Opcode = Opcodes[1]; in SelectMVE_VxDUP()
[all …]
/freebsd-13.1/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.cpp628 SmallVector<uint8_t, 64> Opcodes; member in __anonf4a9be480111::ARMELFStreamer
1091 Opcodes.clear(); in EHReset()
1141 assert(Opcodes.size() == 4u && in emitFnEnd()
1143 uint64_t Intval = Opcodes[0] | in emitFnEnd()
1144 Opcodes[1] << 8 | in emitFnEnd()
1145 Opcodes[2] << 16 | in emitFnEnd()
1146 Opcodes[3] << 24; in emitFnEnd()
1147 emitIntValue(Intval, Opcodes.size()); in emitFnEnd()
1219 assert((Opcodes.size() % 4) == 0 && in FlushUnwindOpcodes()
1222 uint64_t Intval = Opcodes[I] | in FlushUnwindOpcodes()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOWriter.cpp53 assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && in totalSize()
58 assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && in totalSize()
63 assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && in totalSize()
69 assert((DyLdInfoCommand.lazy_bind_size == O.LazyBinds.Opcodes.size()) && in totalSize()
344 assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && in writeRebaseInfo()
346 memcpy(Out, O.Rebases.Opcodes.data(), O.Rebases.Opcodes.size()); in writeRebaseInfo()
356 assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && in writeBindInfo()
358 memcpy(Out, O.Binds.Opcodes.data(), O.Binds.Opcodes.size()); in writeBindInfo()
368 assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && in writeWeakBindInfo()
370 memcpy(Out, O.WeakBinds.Opcodes.data(), O.WeakBinds.Opcodes.size()); in writeWeakBindInfo()
[all …]
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()
338 O.Rebases.Opcodes.empty() ? 0 : StartOfRebaseInfo; in layoutTail()
339 MLC.dyld_info_command_data.rebase_size = O.Rebases.Opcodes.size(); in layoutTail()
341 O.Binds.Opcodes.empty() ? 0 : StartOfBindingInfo; in layoutTail()
342 MLC.dyld_info_command_data.bind_size = O.Binds.Opcodes.size(); in layoutTail()
344 O.WeakBinds.Opcodes.empty() ? 0 : StartOfWeakBindingInfo; in layoutTail()
345 MLC.dyld_info_command_data.weak_bind_size = O.WeakBinds.Opcodes.size(); in layoutTail()
347 O.LazyBinds.Opcodes.empty() ? 0 : StartOfLazyBindingInfo; in layoutTail()
[all …]
H A DObject.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.cpp245 O.Rebases.Opcodes = MachOObj.getDyldInfoRebaseOpcodes(); in readRebaseInfo()
249 O.Binds.Opcodes = MachOObj.getDyldInfoBindOpcodes(); in readBindInfo()
253 O.WeakBinds.Opcodes = MachOObj.getDyldInfoWeakBindOpcodes(); in readWeakBindInfo()
257 O.LazyBinds.Opcodes = MachOObj.getDyldInfoLazyBindOpcodes(); in readLazyBindInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp3151 Ptr = Opcodes.begin(); in moveToFirst()
3156 Ptr = Opcodes.end(); in moveToEnd()
3414 if (Ptr > Opcodes.end()) in readULEB128()
3415 Ptr = Opcodes.end(); in readULEB128()
3455 assert(Opcodes == Other.Opcodes && "compare iterators of different files"); in operator ==()
3488 Ptr = Opcodes.begin(); in moveToFirst()
3493 Ptr = Opcodes.end(); in moveToEnd()
3949 if (Ptr > Opcodes.end()) in readULEB128()
3950 Ptr = Opcodes.end(); in readULEB128()
3959 Ptr = Opcodes.end(); in readSLEB128()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
242 const RecVec &Opcodes = Rec->getValueAsListOfDefs("Opcodes"); in expandOpcodeSwitchCase() local
243 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 DFixedLenDecoderEmitter.cpp369 const std::vector<EncodingIDAndOpcode> &Opcodes; member in __anon3051e32e0511::FilterChooser
567 Owner->insnWithID(Insn, Owner->Opcodes[i].EncodingID); in Filter()
576 LastOpcFiltered = Owner->Opcodes[i]; in Filter()
582 VariableInstructions.push_back(Owner->Opcodes[i]); in Filter()
1496 unsigned numInstructions = Opcodes.size(); in filterProcessor()
1509 for (auto Opcode : Opcodes) { in filterProcessor()
1559 insnWithID(insn, Opcodes[InsnIndex].EncodingID); in filterProcessor()
1725 unsigned Num = Opcodes.size(); in doFilter()
1751 if (Opcodes.size() == 1) { in emitTableEntries()
1755 emitSingletonTableEntry(TableInfo, Opcodes[0]); in emitTableEntries()
[all …]
H A DCodeGenSchedule.h355 std::vector<const Record *> Opcodes; variable
365 assert(!llvm::is_contained(Opcodes, Opcode) && "Opcode already in set!"); in addOpcode()
366 Opcodes.push_back(Opcode); in addOpcode()
369 ArrayRef<const Record *> getOpcodes() const { return Opcodes; } in getOpcodes()
H A DDAGISelMatcherOpt.cpp393 StringSet<> Opcodes; in FactorNodes() local
397 assert(Opcodes.insert(COM->getOpcode().getEnumName()).second && in FactorNodes()
H A DCodeGenSchedule.cpp258 RecVec Opcodes = R->getValueAsListOfDefs("Opcodes"); in checkSTIPredicates() local
259 if (Opcodes.empty()) { in checkSTIPredicates()
305 RecVec Opcodes = EC->getValueAsListOfDefs("Opcodes"); in processSTIPredicate() local
306 for (const Record *Opcode : Opcodes) { in processSTIPredicate()
337 RecVec Opcodes = EC->getValueAsListOfDefs("Opcodes"); in processSTIPredicate() local
347 for (const Record *Opcode : Opcodes) { in processSTIPredicate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp298 std::initializer_list<unsigned> Opcodes) { in getActionDefinitionsBuilder() argument
299 unsigned Representative = *Opcodes.begin(); in getActionDefinitionsBuilder()
301 assert(!llvm::empty(Opcodes) && Opcodes.begin() + 1 != Opcodes.end() && in getActionDefinitionsBuilder()
304 for (unsigned Op : llvm::drop_begin(Opcodes)) in getActionDefinitionsBuilder()
/freebsd-13.1/contrib/llvm-project/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;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h192 ArrayRef<uint8_t> Opcodes; variable
216 ArrayRef<uint8_t> Opcodes, bool is64Bit, MachOBindEntry::Kind);
244 ArrayRef<uint8_t> Opcodes; variable
395 ArrayRef<uint8_t> Opcodes,
410 ArrayRef<uint8_t> Opcodes,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1798 SmallVectorImpl<uint64_t> &Opcodes, in getSalvageOpsForGEP() argument
1807 Opcodes.insert(Opcodes.begin(), {dwarf::DW_OP_LLVM_arg, 0}); in getSalvageOpsForGEP()
1818 DIExpression::appendOffset(Opcodes, ConstantOffset.getSExtValue()); in getSalvageOpsForGEP()
1853 SmallVectorImpl<uint64_t> &Opcodes, in getSalvageOpsForBinOp() argument
1869 DIExpression::appendOffset(Opcodes, Offset); in getSalvageOpsForBinOp()
1872 Opcodes.append({dwarf::DW_OP_constu, Val}); in getSalvageOpsForBinOp()
1875 Opcodes.append({dwarf::DW_OP_LLVM_arg, 0}); in getSalvageOpsForBinOp()
1878 Opcodes.append({dwarf::DW_OP_LLVM_arg, CurrentLocOps}); in getSalvageOpsForBinOp()
1887 Opcodes.push_back(DwarfBinOp); in getSalvageOpsForBinOp()
1910 auto applyOps = [&](ArrayRef<uint64_t> Opcodes) { in salvageDebugInfoImpl() argument
[all …]
/freebsd-13.1/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()

12