/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAsmBackend.cpp | 150 const MCFixup &Fixup, const MCFragment *DF, 155 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 160 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 205 bool ARMAsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup, argument 209 switch ((unsigned)Fixup.getKind()) { 336 static unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value, argument 339 unsigned Kind = Fixup.getKind(); 392 Ctx->FatalError(Fixup.getLoc(), "out of range pc-relative fixup value"); 413 Ctx->FatalError(Fixup.getLoc(), "out of range pc-relative fixup value"); 441 if (const MCSymbolRefExpr *SRE = dyn_cast<MCSymbolRefExpr>(Fixup 592 processFixupValue(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFixup &Fixup, const MCFragment *DF, const MCValue &Target, uint64_t &Value, bool &IsResolved) argument 733 applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, uint64_t Value, bool IsPCRel) const argument [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86AsmBackend.cpp | 109 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 111 unsigned Size = 1 << getFixupKindLog2Size(Fixup.getKind()); 113 assert(Fixup.getOffset() + Size <= DataSize && 121 "Value does not fit in the Fixup field"); 124 Data[Fixup.getOffset() + i] = uint8_t(Value >> (i * 8)); 129 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 270 bool X86AsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup, argument
|
/external/clang/lib/CodeGen/ |
H A D | CGCleanup.cpp | 285 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I); local 286 if (Fixup.Destination == nullptr) continue; 296 if (Fixup.OptimisticBranchBlock == nullptr) { 297 new llvm::StoreInst(CGF.Builder.getInt32(Fixup.DestinationIndex), 299 Fixup.InitialBranch); 300 Fixup.InitialBranch->setSuccessor(0, CleanupEntry); 304 if (!CasesAdded.insert(Fixup.Destination)) continue; 306 Switch->addCase(CGF.Builder.getInt32(Fixup.DestinationIndex), 307 Fixup.Destination); 347 BranchFixup &Fixup local 804 BranchFixup &Fixup = EHStack.getBranchFixup(I); local 942 BranchFixup &Fixup = EHStack.addBranchFixup(); local [all...] |
/external/llvm/lib/MC/ |
H A D | MCAssembler.cpp | 449 const MCFixup &Fixup, const MCFragment *DF, 456 const MCExpr *Expr = Fixup.getValue(); 458 getContext().FatalError(Fixup.getLoc(), "expected relocatable expression"); 461 Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel; 500 bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags & 506 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset(); 516 Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value, 841 const MCFixup &Fixup) { 845 bool IsPCRel = Backend.getFixupKindInfo(Fixup.getKind()).Flags & 847 if (!evaluateFixup(Layout, Fixup, 448 evaluateFixup(const MCAsmLayout &Layout, const MCFixup &Fixup, const MCFragment *DF, MCValue &Target, uint64_t &Value) const argument 839 handleFixup(const MCAsmLayout &Layout, MCFragment &F, const MCFixup &Fixup) argument 917 MCFixup &Fixup = *it3; local 934 fixupNeedsRelaxation(const MCFixup &Fixup, const MCRelaxableFragment *DF, const MCAsmLayout &Layout) const argument [all...] |
H A D | MachObjectWriter.cpp | 455 const MCFixup &Fixup, 459 TargetObjectWriter->RecordRelocation(this, Asm, Layout, Fragment, Fixup, 452 RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, bool &IsPCRel, uint64_t &FixedValue) argument
|
H A D | WinCOFFObjectWriter.cpp | 174 const MCFragment *Fragment, const MCFixup &Fixup, 699 const MCFixup &Fixup, 709 Fixup.getLoc(), 732 Fixup.getLoc(), 738 Fixup.getLoc(), 748 int64_t b = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); 775 Reloc.Data.VirtualAddress += Fixup.getOffset(); 776 Reloc.Data.Type = TargetObjectWriter->getRelocType(Target, Fixup, 825 if (TargetObjectWriter->recordRelocation(Fixup)) 858 // Fixup wea 696 RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, bool &IsPCRel, uint64_t &FixedValue) argument [all...] |
H A D | ELFObjectWriter.cpp | 184 unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, argument 186 return TargetObjectWriter->GetRelocType(Target, Fixup, IsPCRel); 225 const MCFragment *Fragment, const MCFixup &Fixup, 812 const MCFixup &Fixup, 818 uint64_t FixupOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); 833 Fixup.getLoc(), 840 Fixup.getLoc(), 848 Fixup.getLoc(), "Cannot represent a difference across sections"); 862 unsigned Type = GetRelocType(Target, Fixup, IsPCRel); 809 RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, bool &IsPCRel, uint64_t &FixedValue) argument
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 4140 LSRFixup &Fixup = *I; local 4141 if (Fixup.LUIdx == LUIdx) { 4142 Fixup.LUIdx = LUThatHas - &Uses.front(); 4143 Fixup.Offset += F.BaseOffset; 4145 if (LUThatHas->Offsets.back() != Fixup.Offset) { 4146 LUThatHas->Offsets.push_back(Fixup.Offset); 4147 if (Fixup.Offset > LUThatHas->MaxOffset) 4148 LUThatHas->MaxOffset = Fixup.Offset; 4149 if (Fixup.Offset < LUThatHas->MinOffset) 4150 LUThatHas->MinOffset = Fixup 4846 const LSRFixup &Fixup = *I; local [all...] |