Searched refs:InstSize (Results 1 - 21 of 21) sorted by relevance

/external/llvm/unittests/MC/
H A DDisassembler.cpp38 size_t InstSize;
42 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString,
44 EXPECT_EQ(InstSize, 1U);
46 PC += InstSize;
47 BytesP += InstSize;
48 NumBytes -= InstSize;
50 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString,
52 EXPECT_EQ(InstSize, 1U);
54 PC += InstSize;
55 BytesP += InstSize;
[all...]
/external/llvm/lib/MC/MCDisassembler/
H A DMCDisassembler.cpp22 uint64_t InstSize) const {
26 IsBranch, Offset, InstSize);
H A DMCExternalSymbolizer.cpp41 uint64_t InstSize) {
47 !GetOpInfo(DisInfo, Address, Offset, InstSize, 1, &SymbolicOp)) {
57 // InstSize, we will not guess it is an address of a symbol. Because in
60 if (!SymbolLookUp || (InstSize == 1 && !IsBranch))
35 tryAddingSymbolicOperand(MCInst &MI, raw_ostream &cStream, int64_t Value, uint64_t Address, bool IsBranch, uint64_t Offset, uint64_t InstSize) argument
/external/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64ExternalSymbolizer.h33 uint64_t Offset, uint64_t InstSize) override;
H A DAArch64ExternalSymbolizer.cpp62 bool IsBranch, uint64_t Offset, uint64_t InstSize) {
74 !GetOpInfo(DisInfo, Address, 0 /* Offset */, InstSize, 1, &SymbolicOp)) {
60 tryAddingSymbolicOperand( MCInst &MI, raw_ostream &CommentStream, int64_t Value, uint64_t Address, bool IsBranch, uint64_t Offset, uint64_t InstSize) argument
/external/llvm/include/llvm/MC/MCDisassembler/
H A DMCExternalSymbolizer.h50 uint64_t Offset, uint64_t InstSize) override;
H A DMCSymbolizer.h68 /// \param InstSize - Size of the instruction in bytes.
73 uint64_t InstSize) = 0;
H A DMCDisassembler.h94 uint64_t Offset, uint64_t InstSize) const;
/external/swiftshader/third_party/subzero/src/
H A DIceAssemblerMIPS32.h322 constexpr SizeT InstSize = sizeof(IValueT); variable
323 assert(BytesNeeded % InstMIPS32::InstSize == 0);
326 BytesNeeded -= InstSize;
340 void emitTextInst(const std::string &Text, SizeT InstSize);
357 constexpr SizeT InstSize = 0;
358 emitTextInst(InstL->getLabelName() + ":", InstSize);
H A DIceAssemblerARM32.h121 constexpr SizeT InstSize = sizeof(IValueT); variable
122 assert(BytesNeeded % InstARM32::InstSize == 0);
125 BytesNeeded -= InstSize;
152 constexpr SizeT InstSize = 0;
153 emitTextInst(InstL->getLabelName() + ":", InstSize);
607 void emitTextInst(const std::string &Text, SizeT InstSize);
H A DIceAssemblerMIPS32.cpp37 void AssemblerMIPS32::emitTextInst(const std::string &Text, SizeT InstSize) { argument
38 AssemblerFixup *F = createTextFixup(Text, InstSize);
40 for (SizeT I = 0; I < InstSize; ++I) {
96 constexpr SizeT InstSize = 0; local
97 emitTextInst(Node->getAsmName() + ":", InstSize);
611 return InstMIPS32::InstSize;
632 return InstMIPS32::InstSize;
H A DIceAssemblerARM32.cpp617 return InstARM32::InstSize;
632 return InstARM32::InstSize;
680 return InstARM32::InstSize;
686 return InstARM32::InstSize;
719 constexpr SizeT InstSize = 0;
720 emitTextInst(Node->getAsmName() + ":", InstSize);
766 void AssemblerARM32::emitTextInst(const std::string &Text, SizeT InstSize) {
767 AssemblerFixup *F = createTextFixup(Text, InstSize);
769 for (SizeT I = 0; I < InstSize; ++I) {
H A DIceInstARM32.cpp122 Asm->incEmitTextSize(InstSize);
144 Asm->incEmitTextSize(InstSize);
2050 Asm->decEmitTextSize(InstSize);
H A DIceInstMIPS32.h289 static constexpr size_t InstSize = sizeof(uint32_t); member in class:Ice::MIPS32::InstMIPS32
H A DIceInstARM32.h451 static constexpr size_t InstSize = sizeof(uint32_t); member in class:Ice::ARM32::InstARM32
/external/mesa3d/src/mesa/main/
H A Ddlist.c179 * integer values starting at 0 is very important, see InstSize array usage)
607 static GLuint InstSize[OPCODE_END_OF_LIST + 1]; variable
621 n += InstSize[OPCODE_BITMAP];
963 n += InstSize[n[0].opcode];
967 n += InstSize[n[0].opcode];
971 n += InstSize[n[0].opcode];
975 n += InstSize[n[0].opcode];
979 n += InstSize[n[0].opcode];
983 n += InstSize[n[0].opcode];
987 n += InstSize[
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp308 uint64_t InstSize; local
309 if (!decodeInst(Symbol, Inst, InstSize))
317 uint64_t NextPC = SymbolAddr + InstSize;
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp6863 uint64_t InstSize; local
6864 for (uint64_t Index = 0; Index < SectSize; Index += InstSize) {
6868 if (DisAsm->getInstruction(Inst, InstSize, Bytes.slice(Index), PC,
6882 dumpBytes(makeArrayRef(Bytes.data() + Index, InstSize), outs());
6891 InstSize = 1; // skip exactly one illegible byte and move on.
6894 if (InstSize == 0)
6895 InstSize = 1; // skip illegible bytes
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp610 unsigned InstSize = (Opc == ARM::tBR_JTr || Opc == ARM::t2BR_JT) ? 2 : 4;
617 return NumEntries * EntrySize + InstSize;
/external/swiftshader/third_party/LLVM/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp434 bool isBranch, uint64_t InstSize,
444 if (!getOpInfo(DisInfo, Address, 0 /* Offset */, InstSize, 1, &SymbolicOp)) {
433 tryAddingSymbolicOperand(uint64_t Address, int32_t Value, bool isBranch, uint64_t InstSize, MCInst &MI, const void *Decoder) argument
/external/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp546 bool isBranch, uint64_t InstSize,
551 /* Offset */ 0, InstSize);
545 tryAddingSymbolicOperand(uint64_t Address, int32_t Value, bool isBranch, uint64_t InstSize, MCInst &MI, const void *Decoder) argument

Completed in 371 milliseconds