/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCELFObjectWriter.cpp | 24 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 27 virtual void adjustFixupOffset(const MCFixup &Fixup, uint64_t &RelocOffset); 40 const MCFixup &Fixup, 47 switch ((unsigned)Fixup.getKind()) { 58 switch ((unsigned)Fixup.getKind()) { 59 default: llvm_unreachable("invalid fixup kind!"); 87 adjustFixupOffset(const MCFixup &Fixup, uint64_t &RelocOffset) { 88 switch ((unsigned)Fixup.getKind()) {
|
PPCAsmBackend.cpp | 28 llvm_unreachable("Unknown fixup kind!"); 57 const MCFragment *Fragment, const MCFixup &Fixup, 91 bool fixupNeedsRelaxation(const MCFixup &Fixup, 129 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 155 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 157 Value = adjustFixupValue(Fixup.getKind(), Value); 160 unsigned Offset = Fixup.getOffset(); 162 // For each byte of the fragment that the fixup touches, mask in the bits from 163 // the fixup value. The Value has been "split up" into the appropriate
|
/external/llvm/lib/Target/MBlaze/MCTargetDesc/ |
MBlazeELFObjectWriter.cpp | 24 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 38 const MCFixup &Fixup, 45 switch ((unsigned)Fixup.getKind()) { 56 switch ((unsigned)Fixup.getKind()) { 57 default: llvm_unreachable("invalid fixup kind!");
|
MBlazeAsmBackend.cpp | 30 default: llvm_unreachable("invalid fixup kind!"); 55 bool fixupNeedsRelaxation(const MCFixup &Fixup, 89 bool MBlazeAsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup, 124 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 132 void ELFMBlazeAsmBackend::applyFixup(const MCFixup &Fixup, char *Data, 134 unsigned Size = getFixupKindSize(Fixup.getKind()); 136 assert(Fixup.getOffset() + Size <= DataSize && 137 "Invalid fixup offset!"); 139 char *data = Data + Fixup.getOffset(); 141 default: llvm_unreachable("Cannot fixup unknown value.") [all...] |
/external/llvm/include/llvm/MC/ |
MCELFObjectWriter.h | 36 const MCFixup *Fixup; 39 : r_offset(0), Index(0), Type(0), Symbol(0), r_addend(0), Fixup(0) {} 42 const MCSymbol *Sym, uint64_t Addend, const MCFixup &Fixup) 44 r_addend(Addend), Fixup(&Fixup) {} 79 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 86 const MCFixup &Fixup, 88 virtual void adjustFixupOffset(const MCFixup &Fixup,
|
MCAsmBackend.h | 82 /// @name Target Fixup Interfaces 85 /// getNumFixupKinds - Get the number of target specific fixup kinds. 88 /// getFixupKindInfo - Get information on a fixup kind. 91 /// processFixupValue - Target hook to adjust the literal value of a fixup 96 const MCFixup &Fixup, const MCFragment *DF, 102 /// applyFixup - Apply the \arg Value for given \arg Fixup into the provided 103 /// data fragment, at the offset specified by the fixup and following the 104 /// fixup kind as appropriate. 105 virtual void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 120 /// fixup requires the associated instruction to be relaxed [all...] |
MCMachObjectWriter.h | 68 const MCFixup &Fixup, 187 // entry as the linker would, and verifies that the resultant fixup value is 207 const MCFixup &Fixup, MCValue Target, 214 const MCFixup &Fixup, MCValue Target, 218 const MCFragment *Fragment, const MCFixup &Fixup,
|
MCAssembler.h | 136 /// @name Fixup Access 139 void addFixup(MCFixup Fixup) { 141 assert((Fixups.empty() || Fixup.getOffset() >= Fixups.back().getOffset()) && 143 Fixups.push_back(Fixup); 205 /// @name Fixup Access 738 /// Evaluate a fixup to a relocatable expression and the value which should be 739 /// placed into the fixup. 742 /// \param Fixup The fixup to evaluate. 743 /// \param DF The fragment the fixup is inside [all...] |
MCObjectWriter.h | 78 const MCFixup &Fixup, MCValue Target,
|
/external/llvm/lib/MC/ |
MCELFObjectTargetWriter.cpp | 33 const MCFixup &Fixup, 39 void MCELFObjectTargetWriter::adjustFixupOffset(const MCFixup &Fixup,
|
MCAssembler.cpp | 248 const MCFixup &Fixup, const MCFragment *DF, 252 if (!Fixup.getValue()->EvaluateAsRelocatable(Target, Layout)) 253 getContext().FatalError(Fixup.getLoc(), "expected relocatable expression"); 256 Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel; 295 bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags & 301 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset(); 309 // Let the backend adjust the fixup value if necessary, including whether 311 Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value, 555 const MCFixup &Fixup) { 556 // Evaluate the fixup [all...] |
ELFObjectWriter.cpp | 125 const MCFixup &Fixup, 132 const MCFixup &Fixup, 134 return TargetObjectWriter->ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel); 144 unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 147 return TargetObjectWriter->GetRelocType(Target, Fixup, IsPCRel, 256 const MCFixup &Fixup, 632 const MCFixup &Fixup, 656 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel); 679 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel); 685 return ExplicitRelSym(Asm, Target, F, Fixup, IsPCRel) [all...] |
WinCOFFObjectWriter.cpp | 179 const MCFixup &Fixup, 634 const MCFixup &Fixup, 665 int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); 692 Reloc.Data.VirtualAddress += Fixup.getOffset(); 694 unsigned FixupKind = Fixup.getKind(); 749 // Fixup weak external references.
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMachObjectWriter.cpp | 33 const MCFixup &Fixup, 41 const MCFixup &Fixup, MCValue Target, 52 const MCFragment *Fragment, const MCFixup &Fixup, 144 const MCFixup &Fixup, 147 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); 148 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); 156 Asm.getContext().FatalError(Fixup.getLoc(), 170 Asm.getContext().FatalError(Fixup.getLoc(), 196 switch ((unsigned)Fixup.getKind()) { 249 const MCFixup &Fixup, [all...] |
ARMAsmBackend.cpp | 110 /// processFixupValue - Target hook to process the literal value of a fixup 113 const MCFixup &Fixup, const MCFragment *DF, 119 bool fixupNeedsRelaxation(const MCFixup &Fixup, 162 bool ARMAsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup, 166 switch ((unsigned)Fixup.getKind()) { 195 llvm_unreachable("Unexpected fixup kind in fixupNeedsRelaxation()!"); 249 static unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value, 251 unsigned Kind = Fixup.getKind(); 254 llvm_unreachable("Unknown fixup kind!"); 277 // the other hi16 fixup [all...] |
ARMELFObjectWriter.cpp | 28 const MCFixup &Fixup, 37 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 44 const MCFixup &Fixup, 71 const MCFixup &Fixup, 80 RelocType = GetRelocTypeInner(Target, Fixup, IsPCRel); 147 // Need to examine the Fixup when determining whether to 151 const MCFixup &Fixup, 155 return GetRelocTypeInner(Target, Fixup, IsPCRel); 159 const MCFixup &Fixup, 166 switch ((unsigned)Fixup.getKind()) [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...] |
X86ELFObjectWriter.cpp | 27 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 42 const MCFixup &Fixup, 53 switch ((unsigned)Fixup.getKind()) { 54 default: llvm_unreachable("invalid fixup kind!"); 101 switch ((unsigned)Fixup.getKind()) { 102 default: llvm_unreachable("invalid fixup kind!"); 135 switch ((unsigned)Fixup.getKind()) { 136 default: llvm_unreachable("invalid fixup kind!"); 158 switch ((unsigned)Fixup.getKind()) { 159 default: llvm_unreachable("invalid fixup kind!") [all...] |
X86AsmBackend.cpp | 39 default: llvm_unreachable("invalid fixup kind!"); 93 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 95 unsigned Size = 1 << getFixupKindLog2Size(Fixup.getKind()); 97 assert(Fixup.getOffset() + Size <= DataSize && 98 "Invalid fixup offset!"); 105 "Value does not fit in the Fixup field"); 108 Data[Fixup.getOffset() + i] = uint8_t(Value >> (i * 8)); 113 bool fixupNeedsRelaxation(const MCFixup &Fixup, 255 bool X86AsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup,
|
/external/clang/lib/CodeGen/ |
CGCleanup.cpp | 228 /// fixups than the fixup depth on the innermost normal cleanup, or 230 /// wrong place. We *could* try to shrink fixup depths, but that's 239 assert(BranchFixups.size() >= MinSize && "fixup stack out of order"); 278 // Skip this fixup if its destination isn't set. 279 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I); 280 if (Fixup.Destination == 0) continue; 288 // i.e. where there's an unresolved fixup inside a single cleanup 290 if (Fixup.OptimisticBranchBlock == 0) { 291 new llvm::StoreInst(CGF.Builder.getInt32(Fixup.DestinationIndex), 293 Fixup.InitialBranch) [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsAsmBackend.cpp | 95 /// ApplyFixup - Apply the \arg Value for given \arg Fixup into the provided 96 /// data fragment, at the offset specified by the fixup and following the 97 /// fixup kind as appropriate. 98 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 100 MCFixupKind Kind = Fixup.getKind(); 107 unsigned Offset = Fixup.getOffset(); 108 // Number of bytes we need to fixup 205 /// fixup requires the associated instruction to be relaxed. 206 bool fixupNeedsRelaxation(const MCFixup &Fixup,
|
MipsELFObjectWriter.cpp | 42 virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 49 const MCFixup &Fixup, 80 const MCFixup &Fixup, 93 const MCFixup &Fixup, 99 unsigned Kind = (unsigned)Fixup.getKind(); 103 llvm_unreachable("invalid fixup kind!"); 229 MipsGetSymAndOffset(*R->Fixup);
|
MipsBaseInfo.h | 210 MipsGetSymAndOffset(const MCFixup &Fixup) { 211 MCFixupKind FixupKind = Fixup.getKind(); 217 const MCExpr *Expr = Fixup.getValue();
|
/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) {
|
/external/llvm/lib/Transforms/Scalar/ |
LoopStrengthReduce.cpp | [all...] |