Searched defs:Addend (Results 1 - 21 of 21) sorted by relevance

/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ELFRelocationInfo.cpp35 int64_t Addend; getELFRelocationAddend(Rel, Addend); variable
43 // If hasAddend is true, then we need to add Addend (r_addend) to Expr.
122 if (Expr && hasAddend && Addend != 0)
124 MCConstantExpr::Create(Addend, Ctx),
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h60 // the symbol resides (RE.Addend provides additional information about the
81 uint64_t Result = Value + RE.Addend;
102 *TargetAddress = Value + RE.Addend;
135 // Determine the Addend used to adjust the relocation value.
140 uint64_t Addend = 0; variable
154 Addend = *Displacement;
160 Addend = *Displacement;
172 << " Addend " << Addend << "\n"); variable
174 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend);
[all...]
H A DRuntimeDyldMachOAArch64.h39 int64_t Addend = 0; local
64 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress);
66 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress);
76 Addend = (*p & 0x03FFFFFF) << 2;
77 Addend = SignExtend64(Addend, 28);
89 Addend = ((*p & 0x60000000) >> 29) | ((*p & 0x01FFFFE0) >> 3) << 12;
90 Addend = SignExtend64(Addend, 33);
110 Addend
[all...]
H A DRuntimeDyldMachOARM.h72 RE.Addend = decodeAddend(RE);
82 RE.Addend = Value.Offset;
112 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size);
117 Value += RE.Addend;
137 Value = SectionABase - SectionBBase + RE.Addend;
254 int64_t Addend = FullImmVal - (AddrA - AddrB); local
260 << ", Addend: " << Addend << ", SectionA ID: " << SectionAID
264 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID,
H A DRuntimeDyldMachOI386.h56 RE.Addend = memcpyAddend(RE);
68 // Value.Addend += RelocAddr + 4;
73 RE.Addend = Value.Offset;
98 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size);
106 Value = SectionABase - SectionBBase + RE.Addend;
145 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); local
170 if (Addend != AddrA - AddrB)
174 << ", Addend: " << Addend << ", SectionA ID: " << SectionAID
205 int64_t Addend local
[all...]
/external/llvm/include/llvm/MC/
H A DMCELFObjectWriter.h33 uint64_t Addend; // The addend to use. member in struct:llvm::ELFRelocationEntry
36 uint64_t Addend)
37 : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend) {}
35 ELFRelocationEntry(uint64_t Offset, const MCSymbol *Symbol, unsigned Type, uint64_t Addend) argument
/external/llvm/include/llvm/Object/
H A DELFYAML.h114 int64_t Addend; member in struct:llvm::ELFYAML::Relocation
H A DRelocVisitor.h227 int64_t Addend; local
228 Obj->getRelocationAddend(DRI, Addend);
229 return Addend;
235 int64_t Addend; local
236 Obj->getRelocationAddend(DRI, Addend);
237 return Addend;
243 int64_t Addend; local
244 Obj->getRelocationAddend(DRI, Addend);
245 return Addend;
251 int64_t Addend; local
265 int64_t Addend = getELFAddend32LE(R); local
270 int64_t Addend = getELFAddend32LE(R); local
281 int64_t Addend = getELFAddend64LE(R); local
285 int64_t Addend = getELFAddend64LE(R); local
291 int64_t Addend = getELFAddend64LE(R); local
296 int64_t Addend = getELFAddend64LE(R); local
303 int64_t Addend; local
309 int64_t Addend; local
316 int64_t Addend = getELFAddend32BE(R); local
323 int64_t Addend; local
330 int64_t Addend; local
338 int64_t Addend; local
350 int64_t Addend; local
357 int64_t Addend = getELFAddend64BE(R); local
368 int64_t Addend = getELFAddend64BE(R); local
373 int32_t Addend = getELFAddend32BE(R); local
378 int32_t Addend = getELFAddend64BE(R); local
383 int64_t Addend = getELFAddend64BE(R); local
388 int64_t Addend; local
[all...]
H A DMachO.h176 int64_t Addend; member in class:llvm::object::MachOBindEntry
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp225 uint32_t Type, int64_t Addend,
232 support::ulittle64_t::ref(Section.Address + Offset) = Value + Addend;
233 DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
239 Value += Addend;
255 int64_t RealOffset = Value + Addend - FinalAddress;
270 int64_t RealOffset = Value + Addend - FinalAddress;
281 uint32_t Type, int32_t Addend) {
289 Placeholder + Value + Addend;
298 uint32_t RealOffset = Placeholder + Value + Addend - FinalAddress;
312 uint32_t Type, int64_t Addend) {
223 resolveX86_64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset) argument
279 resolveX86Relocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend) argument
310 resolveAArch64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument
[all...]
H A DRuntimeDyldImpl.h97 /// Addend - the relocation addend encoded in the instruction itself. Also
99 int64_t Addend; member in class:llvm::RelocationEntry
120 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
125 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
130 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
137 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel),
148 int64_t Addend; member in class:llvm::RelocationValueRef
150 RelocationValueRef() : SectionID(0), Offset(0), Addend(0),
155 Addend == Other.Addend
[all...]
/external/llvm/lib/MC/
H A DMCExpr.cpp448 const MCSymbolRefExpr *&B, int64_t &Addend) {
465 Addend += (AD.getOffset() - BD.getOffset());
470 Addend |= 1;
488 Addend += (Layout->getSymbolOffset(&Asm->getSymbolData(A->getSymbol())) -
491 Addend += (Addrs->lookup(&SecA) - Addrs->lookup(&SecB));
496 Addend |= 1;
445 AttemptToFoldSymbolOffsetDifference( const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet, const MCSymbolRefExpr *&A, const MCSymbolRefExpr *&B, int64_t &Addend) argument
H A DELFObjectWriter.cpp835 uint64_t Addend = 0; local
837 Addend = C;
856 ELFRelocationEntry Rec(FixupOffset, SectionSymbol, Type, Addend);
870 ELFRelocationEntry Rec(FixupOffset, SymA, Type, Addend);
1350 write(*F, Entry.Addend);
1359 write(*F, uint32_t(Entry.Addend));
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp377 FAddend &Addend = Opnd0 ? Addend1 : Addend0; local
379 Addend.set(1, Opnd1);
381 Addend.set(C1, nullptr);
383 Addend.negate();
832 // Input Addend Value NeedNeg(output)
/external/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp816 const SCEV *Addend = SE.getNegativeSCEV(IndVarNext->getStepRecurrence(SE)); local
817 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend);
/external/clang/utils/TableGen/
H A DNeonEmitter.cpp616 unsigned Addend; local
618 case 8: Addend = 0; break;
619 case 16: Addend = 1; break;
620 case 32: Addend = 2; break;
621 case 64: Addend = 3; break;
622 case 128: Addend = 4; break;
626 unsigned Base = (unsigned)NeonTypeFlags::Int8 + Addend;
629 if (Addend >= 2)
630 --Addend;
631 Base = (unsigned)NeonTypeFlags::Poly8 + Addend;
1611 unsigned Addend = 0; local
[all...]
/external/llvm/tools/dsymutil/
H A DDwarfLinker.cpp1005 uint64_t Addend; member in struct:llvm::dsymutil::__anon11147::DwarfLinker::ValidReloc
1008 ValidReloc(uint32_t Offset, uint32_t Size, uint64_t Addend, argument
1010 : Offset(Offset), Size(Size), Addend(Addend), Mapping(Mapping) {}
1392 uint64_t Addend = Data.getUnsigned(&Offset, RelocSize); local
1402 ValidRelocs.emplace_back(Offset64, RelocSize, Addend, Mapping);
1403 } else if (const auto *Mapping = DMO.lookupObjectAddress(Addend)) {
1486 ValidReloc.Addend -
2021 Value += ValidReloc.Addend;
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp4774 Value *Addend = Ops[0]; local
4779 Ops[2] = Addend;
H A DCGExprScalar.cpp2505 // Addend. Use negMul and negAdd to negate the first operand of the Mul or
2509 static Value* buildFMulAdd(llvm::BinaryOperator *MulOp, Value *Addend, argument
2522 Addend =
2524 llvm::ConstantFP::getZeroValueForNegation(Addend->getType()), Addend,
2530 CGF.CGM.getIntrinsic(llvm::Intrinsic::fmuladd, Addend->getType()),
2531 MulOp0, MulOp1, Addend);
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp138 int64_t &Addend);
456 int64_t Addend; local
458 Addend)) {
476 return Addend >= 0 && (Addend % Scale) == 0;
480 return Addend == 0;
680 int64_t Addend; local
682 DarwinRefKind, Addend)) {
685 || (DarwinRefKind == MCSymbolRefExpr::VK_GOTPAGEOFF && Addend == 0)
750 int64_t Addend; local
2019 int64_t Addend; local
3444 int64_t Addend; local
4181 classifySymbolRef(const MCExpr *Expr, AArch64MCExpr::VariantKind &ELFRefKind, MCSymbolRefExpr::VariantKind &DarwinRefKind, int64_t &Addend) argument
[all...]
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp6460 /// and data being relocated, determine the best base Name and Addend to use for
6472 StringRef &Name, uint64_t &Addend) {
6475 Addend = Addr;
6489 Addend = Addr - SectionAddr;
6501 Addend = Addr - Sym->first;
6508 Addend = Addr - SectionAddr;
6515 uint64_t Addend; local
6520 findUnwindRelocNameAddend(Obj, Symbols, Reloc, Addr, Name, Addend);
6523 if (Addend)
6524 outs() << " + " << format("0x%" PRIx64, Addend);
6469 findUnwindRelocNameAddend(const MachOObjectFile *Obj, std::map<uint64_t, SymbolRef> &Symbols, const RelocationRef &Reloc, uint64_t Addr, StringRef &Name, uint64_t &Addend) argument
[all...]

Completed in 3713 milliseconds