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

  /external/llvm/lib/Target/ARM/
ARMMachObjectWriter.cpp 32 const MCFixup &Fixup,
40 const MCFixup &Fixup, MCValue Target,
51 const MCFragment *Fragment, const MCFixup &Fixup,
127 const MCFixup &Fixup,
130 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset();
131 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
177 switch ((unsigned)Fixup.getKind()) {
224 const MCFixup &Fixup,
228 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset();
229 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind())
    [all...]
ARMAsmBackend.cpp 153 llvm_unreachable("Unknown fixup kind!");
167 "Out of range pc-relative fixup value!");
178 // the other hi16 fixup?
189 // for this fixup, so we need to mask off the bits not handled by this
209 assert ((Value < 4096) && "Out of range pc-relative fixup value!");
233 "Out of range pc-relative fixup value!");
305 // to transpose the fixup value here to map properly.
323 // to transpose the fixup value here to map properly.
362 assert ((Value < 256) && "Out of range pc-relative fixup value!");
388 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize
    [all...]
  /external/llvm/lib/Target/MBlaze/
MBlazeAsmBackend.cpp 32 default: assert(0 && "invalid fixup kind!");
115 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
124 void ELFMBlazeAsmBackend::ApplyFixup(const MCFixup &Fixup, char *Data,
126 unsigned Size = getFixupKindSize(Fixup.getKind());
128 assert(Fixup.getOffset() + Size <= DataSize &&
129 "Invalid fixup offset!");
131 char *data = Data + Fixup.getOffset();
133 default: llvm_unreachable("Cannot fixup unknown value.");
134 case 1: llvm_unreachable("Cannot fixup 1 byte value.");
135 case 8: llvm_unreachable("Cannot fixup 8 byte value.")
    [all...]
  /external/llvm/lib/Target/X86/
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 41 default: assert(0 && "invalid fixup kind!");
91 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
93 unsigned Size = 1 << getFixupKindLog2Size(Fixup.getKind());
95 assert(Fixup.getOffset() + Size <= DataSize &&
96 "Invalid fixup offset!");
98 Data[Fixup.getOffset() + i] = uint8_t(Value >> (i * 8));
  /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,
362 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
386 const MCFixup &Fixup,
389 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
394 const MCFixup &Fixup, bool IsPCRel) const;
408 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
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...]
ELFObjectWriter.cpp 334 const MCFixup &Fixup,
358 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel);
381 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel);
387 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel);
395 const MCFixup &Fixup,
403 bool IsPCRel = isFixupKindPCRel(Asm, Fixup.getKind());
407 RelocSymbol = SymbolToReloc(Asm, Target, *Fragment, Fixup, IsPCRel);
418 int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset();
444 unsigned Type = GetRelocType(Target, Fixup, IsPCRel,
448 Fixup.getOffset()
    [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 219 /// fixups than the fixup depth on the innermost normal cleanup, or
221 /// wrong place. We *could* try to shrink fixup depths, but that's
230 assert(BranchFixups.size() >= MinSize && "fixup stack out of order");
270 // Skip this fixup if its destination isn't set.
271 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I);
272 if (Fixup.Destination == 0) continue;
280 // i.e. where there's an unresolved fixup inside a single cleanup
282 if (Fixup.OptimisticBranchBlock == 0) {
283 new llvm::StoreInst(CGF.Builder.getInt32(Fixup.DestinationIndex),
285 Fixup.InitialBranch)
    [all...]
  /external/llvm/include/llvm/MC/
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/include/llvm/Target/
TargetAsmBackend.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,
  /external/llvm/lib/Target/PowerPC/
PPCAsmBackend.cpp 30 const MCFragment *Fragment, const MCFixup &Fixup,
93 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp 865 /// this fixup needs, minus an offset (below).
886 /// isUseFullyOutsideLoop - Test whether this fixup always uses its
    [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 2502 milliseconds