Home
last modified time | relevance | path

Searched refs:Fixups (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.h54 SmallVectorImpl<MCFixup> &Fixups,
60 SmallVectorImpl<MCFixup> &Fixups,
67 SmallVectorImpl<MCFixup> &Fixups,
74 SmallVectorImpl<MCFixup> &Fixups,
80 SmallVectorImpl<MCFixup> &Fixups,
84 SmallVectorImpl<MCFixup> &Fixups,
88 SmallVectorImpl<MCFixup> &Fixups,
94 SmallVectorImpl<MCFixup> &Fixups,
101 SmallVectorImpl<MCFixup> &Fixups,
108 SmallVectorImpl<MCFixup> &Fixups,
[all …]
DMipsMCCodeEmitter.cpp144 SmallVectorImpl<MCFixup> &Fixups, in EncodeInstruction() argument
167 unsigned long N = Fixups.size(); in EncodeInstruction()
168 uint32_t Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in EncodeInstruction()
181 if (Fixups.size() > N) in EncodeInstruction()
182 Fixups.pop_back(); in EncodeInstruction()
185 Binary = getBinaryCodeForInstr(TmpInst, Fixups, STI); in EncodeInstruction()
204 SmallVectorImpl<MCFixup> &Fixups, in getBranchTargetOpValue() argument
216 Fixups.push_back(MCFixup::Create(0, Expr, in getBranchTargetOpValue()
226 SmallVectorImpl<MCFixup> &Fixups, in getBranchTarget7OpValueMM() argument
238 Fixups.push_back(MCFixup::Create(0, Expr, in getBranchTarget7OpValueMM()
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp50 SmallVectorImpl<MCFixup> &Fixups,
53 SmallVectorImpl<MCFixup> &Fixups,
56 SmallVectorImpl<MCFixup> &Fixups,
59 SmallVectorImpl<MCFixup> &Fixups,
62 SmallVectorImpl<MCFixup> &Fixups,
65 SmallVectorImpl<MCFixup> &Fixups,
68 SmallVectorImpl<MCFixup> &Fixups,
71 SmallVectorImpl<MCFixup> &Fixups,
74 SmallVectorImpl<MCFixup> &Fixups,
77 SmallVectorImpl<MCFixup> &Fixups,
[all …]
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCCodeEmitter.cpp39 SmallVectorImpl<MCFixup> &Fixups,
45 SmallVectorImpl<MCFixup> &Fixups,
51 SmallVectorImpl<MCFixup> &Fixups,
59 SmallVectorImpl<MCFixup> &Fixups,
62 SmallVectorImpl<MCFixup> &Fixups,
65 SmallVectorImpl<MCFixup> &Fixups,
68 SmallVectorImpl<MCFixup> &Fixups,
71 SmallVectorImpl<MCFixup> &Fixups,
80 SmallVectorImpl<MCFixup> &Fixups,
85 SmallVectorImpl<MCFixup> &Fixups, in getPC16DBLEncoding() argument
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCCodeEmitter.cpp48 SmallVectorImpl<MCFixup> &Fixups,
54 SmallVectorImpl<MCFixup> &Fixups,
62 SmallVectorImpl<MCFixup> &Fixups,
68 SmallVectorImpl<MCFixup> &Fixups,
74 SmallVectorImpl<MCFixup> &Fixups,
80 SmallVectorImpl<MCFixup> &Fixups,
86 SmallVectorImpl<MCFixup> &Fixups,
93 SmallVectorImpl<MCFixup> &Fixups,
99 SmallVectorImpl<MCFixup> &Fixups,
105 SmallVectorImpl<MCFixup> &Fixups,
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCCodeEmitter.cpp69 SmallVectorImpl<MCFixup> &Fixups,
75 SmallVectorImpl<MCFixup> &Fixups,
82 SmallVectorImpl<MCFixup> &Fixups,
87 SmallVectorImpl<MCFixup> &Fixups,
93 SmallVectorImpl<MCFixup> &Fixups,
99 SmallVectorImpl<MCFixup> &Fixups,
104 SmallVectorImpl<MCFixup> &Fixups,
109 SmallVectorImpl<MCFixup> &Fixups,
114 SmallVectorImpl<MCFixup> &Fixups,
120 SmallVectorImpl<MCFixup> &Fixups,
[all …]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCCodeEmitter.cpp44 SmallVectorImpl<MCFixup> &Fixups,
50 SmallVectorImpl<MCFixup> &Fixups,
56 SmallVectorImpl<MCFixup> &Fixups,
60 SmallVectorImpl<MCFixup> &Fixups,
63 SmallVectorImpl<MCFixup> &Fixups,
66 SmallVectorImpl<MCFixup> &Fixups,
69 SmallVectorImpl<MCFixup> &Fixups,
83 SmallVectorImpl<MCFixup> &Fixups, in EncodeInstruction() argument
85 unsigned Bits = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeInstruction()
103 uint64_t op = getMachineOpValue(MI, MO, Fixups, STI); in EncodeInstruction()
[all …]
DSparcMCExpr.h85 Sparc::Fixups getFixupKind() const { return getFixupKind(Kind); } in getFixupKind()
107 static Sparc::Fixups getFixupKind(VariantKind Kind);
/external/llvm/lib/Target/BPF/MCTargetDesc/
DBPFMCCodeEmitter.cpp42 SmallVectorImpl<MCFixup> &Fixups,
48 SmallVectorImpl<MCFixup> &Fixups,
52 SmallVectorImpl<MCFixup> &Fixups,
56 SmallVectorImpl<MCFixup> &Fixups,
69 SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument
84 Fixups.push_back(MCFixup::Create(0, Expr, FK_SecRel_4)); in getMachineOpValue()
86 Fixups.push_back(MCFixup::Create(0, Expr, FK_SecRel_8)); in getMachineOpValue()
89 Fixups.push_back(MCFixup::Create(0, Expr, FK_PCRel_2)); in getMachineOpValue()
121 SmallVectorImpl<MCFixup> &Fixups, in EncodeInstruction() argument
128 uint64_t Value = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeInstruction()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
DAMDGPUMCCodeEmitter.h29 SmallVectorImpl<MCFixup> &Fixups) const;
32 SmallVectorImpl<MCFixup> &Fixups) const { in getMachineOpValue() argument
37 SmallVectorImpl<MCFixup> &Fixups) const { in GPR4AlignEncode() argument
41 SmallVectorImpl<MCFixup> &Fixups) const { in GPR2AlignEncode() argument
48 SmallVectorImpl<MCFixup> &Fixups) const { in i32LiteralEncode() argument
52 SmallVectorImpl<MCFixup> &Fixups) const { in SMRDmemriEncode() argument
DR600MCCodeEmitter.cpp54 SmallVectorImpl<MCFixup> &Fixups) const;
58 SmallVectorImpl<MCFixup> &Fixups) const;
61 void EmitALUInstr(const MCInst &MI, SmallVectorImpl<MCFixup> &Fixups,
66 SmallVectorImpl<MCFixup> &Fixups,
68 void EmitTexInstr(const MCInst &MI, SmallVectorImpl<MCFixup> &Fixups,
151 SmallVectorImpl<MCFixup> &Fixups) const { in EncodeInstruction()
153 EmitTexInstr(MI, Fixups, OS); in EncodeInstruction()
164 uint64_t inst = getBinaryCodeForInstr(MI, Fixups); in EncodeInstruction()
176 uint64_t InstWord01 = getBinaryCodeForInstr(MI, Fixups); in EncodeInstruction()
186 EmitALUInstr(MI, Fixups, OS); in EncodeInstruction()
[all …]
DSIMCCodeEmitter.cpp75 SmallVectorImpl<MCFixup> &Fixups) const;
79 SmallVectorImpl<MCFixup> &Fixups) const;
132 SmallVectorImpl<MCFixup> &Fixups) const { in EncodeInstruction()
133 uint64_t Encoding = getBinaryCodeForInstr(MI, Fixups); in EncodeInstruction()
142 SmallVectorImpl<MCFixup> &Fixups) const { in getMachineOpValue()
/external/llvm/lib/Target/R600/MCTargetDesc/
DSIMCCodeEmitter.cpp56 SmallVectorImpl<MCFixup> &Fixups,
61 SmallVectorImpl<MCFixup> &Fixups,
67 SmallVectorImpl<MCFixup> &Fixups,
183 SmallVectorImpl<MCFixup> &Fixups, in EncodeInstruction() argument
186 uint64_t Encoding = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeInstruction()
230 SmallVectorImpl<MCFixup> &Fixups, in getSOPPBrEncoding() argument
237 Fixups.push_back(MCFixup::Create(0, Expr, Kind, MI.getLoc())); in getSOPPBrEncoding()
241 return getMachineOpValue(MI, MO, Fixups, STI); in getSOPPBrEncoding()
246 SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument
264 Fixups.push_back(MCFixup::Create(4, Expr, Kind, MI.getLoc())); in getMachineOpValue()
DR600MCCodeEmitter.cpp45 SmallVectorImpl<MCFixup> &Fixups,
50 SmallVectorImpl<MCFixup> &Fixups,
90 SmallVectorImpl<MCFixup> &Fixups, in EncodeInstruction() argument
100 uint64_t InstWord01 = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeInstruction()
124 uint64_t Word01 = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeInstruction()
134 uint64_t Inst = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeInstruction()
DAMDGPUMCCodeEmitter.h32 SmallVectorImpl<MCFixup> &Fixups,
36 SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument
42 SmallVectorImpl<MCFixup> &Fixups, in getSOPPBrEncoding() argument
DAMDGPUFixupKinds.h17 enum Fixups { enum
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.h38 SmallVectorImpl<MCFixup> &Fixups,
44 SmallVectorImpl<MCFixup> &Fixups,
49 SmallVectorImpl<MCFixup> &Fixups,
DHexagonMCCodeEmitter.cpp56 SmallVectorImpl<MCFixup> &Fixups, in EncodeInstruction() argument
58 uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI) | getPacketBits(MI); in EncodeInstruction()
68 SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp125 SmallVectorImpl<MCFixup> &Fixups,
149 SmallVectorImpl<MCFixup> &Fixups,
153 SmallVectorImpl<MCFixup> &Fixups,
296 SmallVectorImpl<MCFixup> &Fixups, int ImmOffset) const { in EmitImmediate() argument
358 Fixups.push_back(MCFixup::Create(CurByte, Expr, FixupKind, Loc)); in EmitImmediate()
366 SmallVectorImpl<MCFixup> &Fixups, in EmitMemModRMByte() argument
397 CurByte, OS, Fixups, -ImmSize); in EmitMemModRMByte()
448 EmitImmediate(Disp, MI.getLoc(), 1, FK_Data_1, CurByte, OS, Fixups); in EmitMemModRMByte()
459 EmitImmediate(Disp, MI.getLoc(), 2, FK_Data_2, CurByte, OS, Fixups); in EmitMemModRMByte()
480 EmitImmediate(Disp, MI.getLoc(), 4, FK_Data_4, CurByte, OS, Fixups); in EmitMemModRMByte()
[all …]
DX86FixupKinds.h17 enum Fixups { enum
/external/llvm/lib/MC/
DWinCOFFStreamer.cpp49 SmallVector<MCFixup, 4> Fixups; in EmitInstToData() local
52 getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups, STI); in EmitInstToData()
56 for (unsigned i = 0, e = Fixups.size(); i != e; ++i) { in EmitInstToData()
57 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
58 DF->getFixups().push_back(Fixups[i]); in EmitInstToData()
DMCELFStreamer.cpp467 SmallVector<MCFixup, 4> Fixups; in EmitInstToData() local
470 Assembler.getEmitter().EncodeInstruction(Inst, VecOS, Fixups, STI); in EmitInstToData()
473 for (unsigned i = 0, e = Fixups.size(); i != e; ++i) in EmitInstToData()
474 fixSymbolsInTLSFixups(Fixups[i].getValue()); in EmitInstToData()
508 else if (!SD->isBundleLocked() && Fixups.size() == 0) { in EmitInstToData()
536 for (unsigned i = 0, e = Fixups.size(); i != e; ++i) { in EmitInstToData()
537 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
538 DF->getFixups().push_back(Fixups[i]); in EmitInstToData()
DMCMachOStreamer.cpp445 SmallVector<MCFixup, 4> Fixups; in EmitInstToData() local
448 getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups, STI); in EmitInstToData()
452 for (unsigned i = 0, e = Fixups.size(); i != e; ++i) { in EmitInstToData()
453 Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size()); in EmitInstToData()
454 DF->getFixups().push_back(Fixups[i]); in EmitInstToData()
/external/llvm/include/llvm/MC/
DMCAssembler.h218 SmallVector<MCFixup, 4> Fixups; variable
232 return Fixups; in getFixups()
236 return Fixups; in getFixups()
245 fixup_iterator fixup_begin() override { return Fixups.begin(); } in fixup_begin()
246 const_fixup_iterator fixup_begin() const override { return Fixups.begin(); } in fixup_begin()
248 fixup_iterator fixup_end() override {return Fixups.end();} in fixup_end()
249 const_fixup_iterator fixup_end() const override {return Fixups.end();} in fixup_end()
307 SmallVector<MCFixup, 1> Fixups; variable
323 return Fixups; in getFixups()
327 return Fixups; in getFixups()
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUMCInstLower.cpp131 SmallVector<MCFixup, 4> Fixups; in EmitInstruction() local
137 InstEmitter.EncodeInstruction(TmpInst, CodeStream, Fixups, in EmitInstruction()

12