HomeSort by relevance Sort by last modified time
    Searched refs:Fixup (Results 1 - 19 of 19) sorted by null

  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMachObjectWriter.cpp 31 const MCFixup &Fixup,
39 const MCFixup &Fixup, MCValue Target,
50 const MCFragment *Fragment, const MCFixup &Fixup,
126 const MCFixup &Fixup,
129 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset();
130 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
176 switch ((unsigned)Fixup.getKind()) {
223 const MCFixup &Fixup,
227 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset();
228 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind())
    [all...]
ARMAsmBackend.cpp 173 llvm_unreachable("Unknown fixup kind!");
196 // the other hi16 fixup?
223 assert ((Value < 4096) && "Out of range pc-relative fixup value!");
247 "Out of range pc-relative fixup value!");
319 // to transpose the fixup value here to map properly.
337 // to transpose the fixup value here to map properly.
376 assert ((Value < 256) && "Out of range pc-relative fixup value!");
403 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
413 void ELFARMAsmBackend::ApplyFixup(const MCFixup &Fixup, char *Data,
416 Value = adjustFixupValue(Fixup.getKind(), Value)
    [all...]
  /external/llvm/lib/Target/MBlaze/MCTargetDesc/
MBlazeAsmBackend.cpp 30 default: assert(0 && "invalid fixup kind!");
113 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
122 void ELFMBlazeAsmBackend::ApplyFixup(const MCFixup &Fixup, char *Data,
124 unsigned Size = getFixupKindSize(Fixup.getKind());
126 assert(Fixup.getOffset() + Size <= DataSize &&
127 "Invalid fixup offset!");
129 char *data = Data + Fixup.getOffset();
131 default: llvm_unreachable("Cannot fixup unknown value.");
132 case 1: llvm_unreachable("Cannot fixup 1 byte value.");
133 case 8: llvm_unreachable("Cannot fixup 8 byte value.")
    [all...]
  /external/llvm/lib/Target/X86/MCTargetDesc/
X86MachObjectWriter.cpp 30 const MCFixup &Fixup,
38 const MCFixup &Fixup,
46 const MCFixup &Fixup,
53 const MCFixup &Fixup,
64 const MCFragment *Fragment, const MCFixup &Fixup,
67 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target,
70 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target,
84 llvm_unreachable("invalid fixup kind!");
103 const MCFixup &Fixup,
106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind())
    [all...]
X86AsmBackend.cpp 40 default: assert(0 && "invalid fixup kind!");
90 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
92 unsigned Size = 1 << getFixupKindLog2Size(Fixup.getKind());
94 assert(Fixup.getOffset() + Size <= DataSize &&
95 "Invalid fixup offset!");
102 "Value does not fit in the Fixup field");
105 Data[Fixup.getOffset() + i] = uint8_t(Value >> (i * 8));
  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCAsmBackend.cpp 27 llvm_unreachable("Unknown fixup kind!");
56 const MCFragment *Fragment, const MCFixup &Fixup,
126 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
152 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
154 Value = adjustFixupValue(Fixup.getKind(), Value);
157 unsigned Offset = Fixup.getOffset();
159 // For each byte of the fragment that the fixup touches, mask in the bits from
160 // the fixup value. The Value has been "split up" into the appropriate
  /external/llvm/lib/MC/
ELFObjectWriter.h 146 const MCFixup &Fixup,
153 const MCFixup &Fixup,
265 const MCFragment *Fragment, const MCFixup &Fixup,
347 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
350 virtual void adjustFixupOffset(const MCFixup &Fixup, uint64_t &RelocOffset) { }
363 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
387 const MCFixup &Fixup,
390 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
395 const MCFixup &Fixup, bool IsPCRel) const;
409 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
    [all...]
ELFObjectWriter.cpp 336 const MCFixup &Fixup,
360 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel);
383 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel);
389 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel);
397 const MCFixup &Fixup,
405 bool IsPCRel = isFixupKindPCRel(Asm, Fixup.getKind());
409 RelocSymbol = SymbolToReloc(Asm, Target, *Fragment, Fixup, IsPCRel);
420 int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset();
446 unsigned Type = GetRelocType(Target, Fixup, IsPCRel,
450 Fixup.getOffset()
    [all...]
MCAssembler.cpp 241 const MCFixup &Fixup, const MCFragment *DF,
245 if (!Fixup.getValue()->EvaluateAsRelocatable(Target, Layout))
249 Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel;
291 bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
297 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset();
551 const MCFixup &Fixup) {
552 // Evaluate the fixup.
555 if (!EvaluateFixup(Layout, Fixup, &F, Target, FixedValue)) {
556 // The fixup was unresolved, we need a relocation. Inform the object
558 // fixup value if need be
    [all...]
WinCOFFObjectWriter.cpp 178 const MCFixup &Fixup,
632 const MCFixup &Fixup,
663 int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset();
690 Reloc.Data.VirtualAddress += Fixup.getOffset();
692 unsigned FixupKind = Fixup.getKind();
764 // Fixup weak external references.
MachObjectWriter.cpp 357 const MCFixup &Fixup,
360 TargetObjectWriter->RecordRelocation(this, Asm, Layout, Fragment, Fixup,
570 // and the offsets are not relocatable, so the fixup is fully resolved when
  /external/clang/lib/CodeGen/
CGCleanup.cpp 229 /// fixups than the fixup depth on the innermost normal cleanup, or
231 /// wrong place. We *could* try to shrink fixup depths, but that's
240 assert(BranchFixups.size() >= MinSize && "fixup stack out of order");
280 // Skip this fixup if its destination isn't set.
281 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I);
282 if (Fixup.Destination == 0) continue;
290 // i.e. where there's an unresolved fixup inside a single cleanup
292 if (Fixup.OptimisticBranchBlock == 0) {
293 new llvm::StoreInst(CGF.Builder.getInt32(Fixup.DestinationIndex),
295 Fixup.InitialBranch)
    [all...]
  /external/llvm/include/llvm/MC/
MCAsmBackend.h 79 /// @name Target Fixup Interfaces
82 /// getNumFixupKinds - Get the number of target specific fixup kinds.
85 /// getFixupKindInfo - Get information on a fixup kind.
90 /// ApplyFixup - Apply the \arg Value for given \arg Fixup into the provided
91 /// data fragment, at the offset specified by the fixup and following the
92 /// fixup kind as appropriate.
93 virtual void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
MCMachObjectWriter.h 68 const MCFixup &Fixup,
184 // entry as the linker would, and verifies that the resultant fixup value is
204 const MCFixup &Fixup, MCValue Target,
211 const MCFixup &Fixup, MCValue Target,
215 const MCFragment *Fragment, const MCFixup &Fixup,
MCAssembler.h 128 /// @name Fixup Access
131 void addFixup(MCFixup Fixup) {
133 assert((Fixups.empty() || Fixup.getOffset() > Fixups.back().getOffset()) &&
135 Fixups.push_back(Fixup);
195 /// @name Fixup Access
701 /// Evaluate a fixup to a relocatable expression and the value which should be
702 /// placed into the fixup.
705 /// \param Fixup The fixup to evaluate.
706 /// \param DF The fragment the fixup is inside
    [all...]
MCObjectWriter.h 80 const MCFixup &Fixup, MCValue Target,
  /external/llvm/lib/Target/Mips/MCTargetDesc/
MipsAsmBackend.cpp 37 /// ApplyFixup - Apply the \arg Value for given \arg Fixup into the provided
38 /// data fragment, at the offset specified by the fixup and following the
39 /// fixup kind as appropriate.
40 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp 914 /// this fixup needs, minus an offset (below).
    [all...]
  /external/chromium/chrome/browser/autocomplete/
history_url_provider_unittest.cc 67 // A file: URL is useful for testing that fixup does the right thing w.r.t.
404 TEST_F(HistoryURLProviderTest, Fixup) {

Completed in 858 milliseconds