Home
last modified time | relevance | path

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

12

/freebsd/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.h34 void (OpcodeDecoder::*Routine)(const uint8_t *Opcodes, unsigned &OI);
38 void Decode_00xxxxxx(const uint8_t *Opcodes, unsigned &OI);
39 void Decode_01xxxxxx(const uint8_t *Opcodes, unsigned &OI);
40 void Decode_1000iiii_iiiiiiii(const uint8_t *Opcodes, unsigned &OI);
41 void Decode_10011101(const uint8_t *Opcodes, unsigned &OI);
42 void Decode_10011111(const uint8_t *Opcodes, unsigned &OI);
43 void Decode_1001nnnn(const uint8_t *Opcodes, unsigned &OI);
44 void Decode_10100nnn(const uint8_t *Opcodes, unsigned &OI);
45 void Decode_10101nnn(const uint8_t *Opcodes, unsigned &OI);
46 void Decode_10110000(const uint8_t *Opcodes, unsigned &OI);
[all …]
H A DARMWinEHPrinter.cpp1051 void Decoder::decodeOpcodes(ArrayRef<uint8_t> Opcodes, unsigned Offset, in decodeOpcodes() argument
1056 for (unsigned OI = Offset, OE = Opcodes.size(); !Terminated && OI < OE; ) { in decodeOpcodes()
1061 Opcodes.data()[OI]); in decodeOpcodes()
1066 if ((Opcodes[OI] & DecodeRing[DI].Mask) == DecodeRing[DI].Value) { in decodeOpcodes()
1069 Opcodes[OI]); in decodeOpcodes()
1074 (this->*DecodeRing[DI].Routine)(Opcodes.data(), OI, 0, Prologue); in decodeOpcodes()
1150 ListScope Opcodes(SW, "Opcodes"); in dumpXDataRecord() local
/freebsd/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.cpp188 return Group.Opcodes[FormIndex] < Opcode; in getFMA3Group()
190 assert(I != Table.end() && I->Opcodes[FormIndex] == Opcode && in getFMA3Group()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp128 } const Opcodes; member in __anone228b8980111::ARMInstructionSelector
177 STI(STI), Opcodes(STI), in ARMInstructionSelector()
349 return Size == 8 ? Opcodes.SEXT8 : Opcodes.SEXT16; in selectSimpleExtOpc()
352 return Size == 8 ? Opcodes.ZEXT8 : Opcodes.ZEXT16; in selectSimpleExtOpc()
366 return isStore ? Opcodes.STORE8 : Opcodes.LOAD8; in selectLoadStoreOpCode()
368 return isStore ? Opcodes.STORE16 : Opcodes.LOAD16; in selectLoadStoreOpCode()
370 return isStore ? Opcodes.STORE32 : Opcodes.LOAD32; in selectLoadStoreOpCode()
496 (void)BuildMI(I.MBB, I.InsertBefore, I.DbgLoc, TII.get(Opcodes.MOVi)) in putConstant()
676 : Opcodes.MOV_ga_pcrel) in selectGlobal()
678 : Opcodes.LDRLIT_ga_pcrel); in selectGlobal()
[all …]
H A DARMISelDAGToDAG.cpp239 void SelectMVE_WB(SDNode *N, const uint16_t *Opcodes, bool Predicated);
280 const uint16_t *const *Opcodes, bool HasWriteback);
284 void SelectMVE_VxDUP(SDNode *N, const uint16_t *Opcodes,
2566 void ARMDAGToDAGISel::SelectMVE_WB(SDNode *N, const uint16_t *Opcodes, in SelectMVE_WB() argument
2574 Opcode = Opcodes[0]; in SelectMVE_WB()
2577 Opcode = Opcodes[1]; in SelectMVE_WB()
2725 const uint16_t *Opcodes = IsUnsigned ? OpcodesU : OpcodesS; in SelectBaseMVE_VMLLDAV() local
2727 Opcodes += 4 * Stride; in SelectBaseMVE_VMLLDAV()
2729 Opcodes += 2 * Stride; in SelectBaseMVE_VMLLDAV()
2731 Opcodes += Stride; in SelectBaseMVE_VMLLDAV()
[all …]
/freebsd/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()
394 O.Rebases.Opcodes.empty() ? 0 : StartOfRebaseInfo; in layoutTail()
395 MLC.dyld_info_command_data.rebase_size = O.Rebases.Opcodes.size(); in layoutTail()
397 O.Binds.Opcodes.empty() ? 0 : StartOfBindingInfo; in layoutTail()
398 MLC.dyld_info_command_data.bind_size = O.Binds.Opcodes.size(); in layoutTail()
400 O.WeakBinds.Opcodes.empty() ? 0 : StartOfWeakBindingInfo; in layoutTail()
401 MLC.dyld_info_command_data.weak_bind_size = O.WeakBinds.Opcodes.size(); in layoutTail()
[all …]
H A DMachOWriter.cpp58 assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && in totalSize()
63 assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && in totalSize()
68 assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && in totalSize()
74 assert((DyLdInfoCommand.lazy_bind_size == O.LazyBinds.Opcodes.size()) && in totalSize()
323 assert((DyLdInfoCommand.rebase_size == O.Rebases.Opcodes.size()) && in writeRebaseInfo()
325 memcpy(Out, O.Rebases.Opcodes.data(), O.Rebases.Opcodes.size()); in writeRebaseInfo()
335 assert((DyLdInfoCommand.bind_size == O.Binds.Opcodes.size()) && in writeBindInfo()
337 memcpy(Out, O.Binds.Opcodes.data(), O.Binds.Opcodes.size()); in writeBindInfo()
347 assert((DyLdInfoCommand.weak_bind_size == O.WeakBinds.Opcodes.size()) && in writeWeakBindInfo()
349 memcpy(Out, O.WeakBinds.Opcodes.data(), O.WeakBinds.Opcodes.size()); in writeWeakBindInfo()
[all …]
H A DMachOObject.h215 ArrayRef<uint8_t> Opcodes; member
231 ArrayRef<uint8_t> Opcodes; member
249 ArrayRef<uint8_t> Opcodes; member
262 ArrayRef<uint8_t> Opcodes; member
H A DMachOReader.cpp272 O.Rebases.Opcodes = MachOObj.getDyldInfoRebaseOpcodes(); in readRebaseInfo()
276 O.Binds.Opcodes = MachOObj.getDyldInfoBindOpcodes(); in readBindInfo()
280 O.WeakBinds.Opcodes = MachOObj.getDyldInfoWeakBindOpcodes(); in readWeakBindInfo()
284 O.LazyBinds.Opcodes = MachOObj.getDyldInfoLazyBindOpcodes(); in readLazyBindInfo()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp3481 : E(E), O(O), Opcodes(Bytes), Ptr(Bytes.begin()), in MachORebaseEntry()
3485 Ptr = Opcodes.begin(); in moveToFirst()
3490 Ptr = Opcodes.end(); in moveToEnd()
3509 if (Ptr == Opcodes.end()) { in moveNext()
3533 Twine::utohexstr(OpcodeStart - Opcodes.begin())); in moveNext()
3548 Twine::utohexstr(OpcodeStart - Opcodes.begin())); in moveNext()
3557 Twine::utohexstr(OpcodeStart - Opcodes.begin())); in moveNext()
3573 Twine::utohexstr(OpcodeStart - Opcodes.begin())); in moveNext()
3582 Twine::utohexstr(OpcodeStart - Opcodes.begin())); in moveNext()
3598 Twine::utohexstr(OpcodeStart - Opcodes.begin())); in moveNext()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMUnwindOpAsm.h63 void EmitRaw(const SmallVectorImpl<uint8_t> &Opcodes) { in EmitRaw() argument
64 llvm::append_range(Ops, Opcodes); in EmitRaw()
65 OpBegins.push_back(OpBegins.back() + Opcodes.size()); in EmitRaw()
H A DARMELFStreamer.cpp88 const SmallVectorImpl<uint8_t> &Opcodes) override;
302 const SmallVectorImpl<uint8_t> &Opcodes) { in emitUnwindRaw() argument
304 for (uint8_t Opcode : Opcodes) in emitUnwindRaw()
431 const SmallVectorImpl<uint8_t> &Opcodes) override;
500 void emitUnwindRaw(int64_t Offset, const SmallVectorImpl<uint8_t> &Opcodes);
732 SmallVector<uint8_t, 64> Opcodes; member in __anonf150d5940111::ARMELFStreamer
777 const SmallVectorImpl<uint8_t> &Opcodes) { in emitUnwindRaw() argument
778 getStreamer().emitUnwindRaw(Offset, Opcodes); in emitUnwindRaw()
1227 Opcodes.clear(); in EHReset()
1273 assert(Opcodes.size() == 4u && in emitFnEnd()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DPredicateExpander.cpp144 ArrayRef<const Record *> Opcodes) { in expandCheckOpcode() argument
145 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()
159 for (const Record *Inst : Opcodes) in expandCheckOpcode()
166 ArrayRef<const Record *> Opcodes) { in expandCheckPseudo() argument
170 expandCheckOpcode(OS, Opcodes); in expandCheckPseudo()
H A DPredicateExpander.h73 void expandCheckPseudo(raw_ostream &OS, ArrayRef<const Record *> Opcodes);
74 void expandCheckOpcode(raw_ostream &OS, ArrayRef<const Record *> Opcodes);
H A DCodeGenSchedule.h372 std::vector<const Record *> Opcodes; variable
382 assert(!llvm::is_contained(Opcodes, Opcode) && "Opcode already in set!"); in addOpcode()
383 Opcodes.push_back(Opcode); in addOpcode()
386 ArrayRef<const Record *> getOpcodes() const { return Opcodes; } in getOpcodes()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp846 unsigned Opcodes[2] = {RISCV::VSLIDEDOWN_VX, RISCV::VSLIDEUP_VX}; in getShuffleCost() local
848 Opcodes[0] = RISCV::VSLIDEDOWN_VI; in getShuffleCost()
850 Opcodes[1] = RISCV::VSLIDEUP_VI; in getShuffleCost()
851 return LT.first * getRISCVInstructionCost(Opcodes, LT.second, CostKind); in getShuffleCost()
890 unsigned Opcodes[] = {RISCV::VID_V, RISCV::VRSUB_VX, RISCV::VRGATHER_VV}; in getShuffleCost() local
893 Opcodes[1] = RISCV::VRSUB_VI; in getShuffleCost()
895 getRISCVInstructionCost(Opcodes, LT.second, CostKind); in getShuffleCost()
1126 SmallVector<unsigned, 4> Opcodes{RISCV::VSETVLI}; in getExpandCompressMemoryOpCost() local
1128 Opcodes.push_back(RISCV::VCPOP_M); in getExpandCompressMemoryOpCost()
1130 Opcodes.append({RISCV::VCOMPRESS_VM}); in getExpandCompressMemoryOpCost()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerInfo.cpp322 std::initializer_list<unsigned> Opcodes) { in getActionDefinitionsBuilder() argument
323 unsigned Representative = *Opcodes.begin(); in getActionDefinitionsBuilder()
325 assert(Opcodes.size() >= 2 && in getActionDefinitionsBuilder()
328 for (unsigned Op : llvm::drop_begin(Opcodes)) in getActionDefinitionsBuilder()
/freebsd/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/contrib/llvm-project/llvm/utils/TableGen/
H A DDecoderEmitter.cpp479 ArrayRef<EncodingIDAndOpcode> Opcodes; member in __anonfc09cd8b0211::FilterChooser
514 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), in FilterChooser()
525 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), in FilterChooser()
663 for (const auto &OpcPair : Owner.Opcodes) { in Filter()
1564 unsigned numInstructions = Opcodes.size(); in filterProcessor()
1577 for (const auto &Opcode : Opcodes) { in filterProcessor()
1619 for (const auto &OpcPair : Opcodes) { in filterProcessor()
1788 unsigned Num = Opcodes.size(); in doFilter()
1814 if (Opcodes.size() == 1) { in emitTableEntries()
1818 emitSingletonTableEntry(TableInfo, Opcodes[0]); in emitTableEntries()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h196 ArrayRef<uint8_t> Opcodes; variable
220 ArrayRef<uint8_t> Opcodes, bool is64Bit,
249 ArrayRef<uint8_t> Opcodes; variable
555 ArrayRef<uint8_t> Opcodes,
573 ArrayRef<uint8_t> Opcodes,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2438 SmallVectorImpl<uint64_t> &Opcodes, in getSalvageOpsForGEP() argument
2447 Opcodes.insert(Opcodes.begin(), {dwarf::DW_OP_LLVM_arg, 0}); in getSalvageOpsForGEP()
2454 Opcodes.append({dwarf::DW_OP_LLVM_arg, CurrentLocOps++, dwarf::DW_OP_constu, in getSalvageOpsForGEP()
2458 DIExpression::appendOffset(Opcodes, ConstantOffset.getSExtValue()); in getSalvageOpsForGEP()
2493 SmallVectorImpl<uint64_t> &Opcodes, in handleSSAValueOperands() argument
2497 Opcodes.append({dwarf::DW_OP_LLVM_arg, 0}); in handleSSAValueOperands()
2500 Opcodes.append({dwarf::DW_OP_LLVM_arg, CurrentLocOps}); in handleSSAValueOperands()
2505 SmallVectorImpl<uint64_t> &Opcodes, in getSalvageOpsForBinOp() argument
2521 DIExpression::appendOffset(Opcodes, Offset); in getSalvageOpsForBinOp()
2524 Opcodes.append({dwarf::DW_OP_constu, Val}); in getSalvageOpsForBinOp()
[all …]
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DFormatterBytecode.def19 // Opcodes.
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEFrameLowering.cpp244 std::pair<unsigned, unsigned> Opcodes = getMFHiLoOpc(Src); in expandCopy() local
246 if (!Opcodes.first) in expandCopy()
249 return expandCopyACC(MBB, I, Opcodes.first, Opcodes.second); in expandCopy()

12