/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCCodeEmitter.h | 31 std::unique_ptr<unsigned> Addend; member in class:llvm::HexagonMCCodeEmitter
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ELFRelocationInfo.cpp | 41 int64_t Addend = *ELFRelocationRef(Rel).getAddend(); variable 49 // If hasAddend is true, then we need to add Addend (r_addend) to Expr. 128 if (Expr && hasAddend && Addend != 0) 130 MCConstantExpr::create(Addend, Ctx),
|
/external/llvm/include/llvm/MC/ |
H A D | MCELFObjectWriter.h | 32 uint64_t Addend; // The addend to use. member in struct:llvm::ELFRelocationEntry 35 uint64_t Addend) 36 : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend) {} 34 ELFRelocationEntry(uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type, uint64_t Addend) argument
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldCOFFX86_64.h | 60 // the symbol resides (RE.Addend provides additional information about the 80 uint64_t Result = Value + RE.Addend; 99 writeBytesUnaligned(Value + RE.Addend, Target, 8); 123 // Determine the Addend used to adjust the relocation value. 126 uint64_t Addend = 0; variable 140 Addend = readBytesUnaligned(Displacement, 4); 146 Addend = readBytesUnaligned(Displacement, 8); 161 << " Addend " << Addend << "\n"); variable 164 RelocationEntry RE(SectionID, Offset, RelType, Addend); [all...] |
H A D | RuntimeDyldMachOAArch64.h | 39 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 D | RuntimeDyldMachOARM.h | 74 RE.Addend = decodeAddend(RE); 84 RE.Addend = Value.Offset; 114 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); 119 Value += RE.Addend; 139 Value = SectionABase - SectionBBase + RE.Addend; 255 int64_t Addend = FullImmVal - (AddrA - AddrB); local 261 << ", Addend: " << Addend << ", SectionA ID: " << SectionAID 265 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID,
|
H A D | RuntimeDyldMachOI386.h | 55 RE.Addend = memcpyAddend(RE); 67 // Value.Addend += RelocAddr + 4; 72 RE.Addend = Value.Offset; 97 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); 105 Value = SectionABase - SectionBBase + RE.Addend; 143 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); local 169 Addend -= AddrA - AddrB; 172 << ", Addend: " << Addend << ", SectionA ID: " << SectionAID 176 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAI [all...] |
H A D | RuntimeDyldMachOX86_64.h | 51 RE.Addend = memcpyAddend(RE); 63 RE.Addend = Value.Offset; 96 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); 103 Value = SectionABase - SectionBBase + RE.Addend; 123 Value.Offset -= RE.Addend; 142 MachO::X86_64_RELOC_UNSIGNED, RE.Addend, true, 2); 166 int64_t Addend = local 177 RelocationEntry R(SectionID, Offset, MachO::X86_64_RELOC_SUBTRACTOR, (uint64_t)Addend,
|
/external/llvm/include/llvm/Object/ |
H A D | ELFYAML.h | 135 int64_t Addend; member in struct:llvm::ELFYAML::Relocation
|
H A D | RelocVisitor.h | 261 // Ideally the Addend here will be the addend in the data for 277 int64_t Addend = getELFAddend(R); local 278 return RelocToApply(Value + Addend, 8); 281 int64_t Addend = getELFAddend(R); local 283 return RelocToApply(Value + Addend - Address, 4); 286 int64_t Addend = getELFAddend(R); local 287 uint32_t Res = (Value + Addend) & 0xFFFFFFFF; 291 int64_t Addend = getELFAddend(R); local 292 int32_t Res = (Value + Addend) & 0xFFFFFFFF; 298 int64_t Addend local 303 int64_t Addend = getELFAddend(R); local 309 int64_t Addend = getELFAddend(R); local 322 int64_t Addend = getELFAddend(R); local 328 int64_t Addend = getELFAddend(R); local 335 int64_t Addend = getELFAddend(R); local 346 int64_t Addend = getELFAddend(R); local 352 int64_t Addend = getELFAddend(R); local 363 int64_t Addend = getELFAddend(R); local 368 int32_t Addend = getELFAddend(R); local 373 int32_t Addend = getELFAddend(R); local 378 int64_t Addend = getELFAddend(R); local [all...] |
H A D | MachO.h | 176 int64_t Addend; member in class:llvm::object::MachOBindEntry
|
/external/llvm/lib/MC/ |
H A D | MCExpr.cpp | 475 const MCSymbolRefExpr *&B, int64_t &Addend) { 490 Addend += (SA.getOffset() - SB.getOffset()); 495 Addend |= 1; 513 Addend += Layout->getSymbolOffset(A->getSymbol()) - 516 Addend += (Addrs->lookup(&SecA) - Addrs->lookup(&SecB)); 521 Addend |= 1; 472 AttemptToFoldSymbolOffsetDifference( const MCAssembler *Asm, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, bool InSet, const MCSymbolRefExpr *&A, const MCSymbolRefExpr *&B, int64_t &Addend) argument
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldImpl.h | 136 /// Addend - the relocation addend encoded in the instruction itself. Also 138 int64_t Addend; member in class:llvm::RelocationEntry 159 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 164 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 169 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 176 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), 187 int64_t Addend; member in class:llvm::RelocationValueRef 189 RelocationValueRef() : SectionID(0), Offset(0), Addend(0), 194 Addend == Other.Addend [all...] |
H A D | RuntimeDyldMachO.cpp | 69 int64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); local 80 Addend -= SectionBaseAddr; 81 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); 111 Value.Offset = SymInfo.getOffset() + RE.Addend; 114 Value.Offset = RE.Addend; 121 Value.Offset = RE.Addend - Addr; 144 << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
|
H A D | RuntimeDyldELF.cpp | 228 uint32_t Type, int64_t Addend, 236 Value + Addend; 237 DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at " 243 Value += Addend; 256 int64_t RealOffset = Value + Addend - FinalAddress; 264 int64_t RealOffset = Value + Addend - FinalAddress; 273 int64_t RealOffset = Value + Addend - FinalAddress; 283 uint32_t Type, int32_t Addend) { 287 Value + Addend; 293 uint32_t RealOffset = Value + Addend 226 resolveX86_64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset) argument 281 resolveX86Relocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend) argument 306 resolveAArch64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument 445 resolveARMRelocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend) argument 496 resolveMIPSRelocation(const SectionEntry &Section, uint64_t Offset, uint32_t Value, uint32_t Type, int32_t Addend) argument 599 resolveMIPS64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument 631 evaluateMIPS64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument 848 int64_t Addend = *AddendOrErr; local 908 resolvePPC32Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument 928 resolvePPC64Relocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument 1019 resolveSystemZRelocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend) argument 1080 resolveRelocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument 1172 int64_t Addend = AddendOrErr ? *AddendOrErr : 0; local 1346 uint32_t Addend = (Opcode & 0x03ffffff) << 2; local 1384 int64_t Addend = (Opcode & 0x0000ffff) << 16; local 1388 int64_t Addend = Value.Addend + SignExtend32<16>(Opcode & 0x0000ffff); local [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 378 FAddend &Addend = Opnd0 ? Addend1 : Addend0; local 380 Addend.set(1, Opnd1); 382 Addend.set(C1, nullptr); 384 Addend.negate(); 832 // Input Addend Value NeedNeg(output)
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | InductiveRangeCheckElimination.cpp | 823 const SCEV *Addend = SE.getNegativeSCEV(IndVarNext->getStepRecurrence(SE)); local 824 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend);
|
/external/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 633 unsigned Addend; local 635 case 8: Addend = 0; break; 636 case 16: Addend = 1; break; 637 case 32: Addend = 2; break; 638 case 64: Addend = 3; break; 639 case 128: Addend = 4; break; 643 unsigned Base = (unsigned)NeonTypeFlags::Int8 + Addend; 646 if (Addend >= 2) 647 --Addend; 648 Base = (unsigned)NeonTypeFlags::Poly8 + Addend; 1628 unsigned Addend = 0; local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 2513 // Addend. Use negMul and negAdd to negate the first operand of the Mul or 2517 static Value* buildFMulAdd(llvm::BinaryOperator *MulOp, Value *Addend, argument 2530 Addend = 2532 llvm::ConstantFP::getZeroValueForNegation(Addend->getType()), Addend, 2537 CGF.CGM.getIntrinsic(llvm::Intrinsic::fmuladd, Addend->getType()), 2538 {MulOp0, MulOp1, Addend});
|
H A D | CGBuiltin.cpp | 5087 Value *Addend = Ops[0]; local 5092 Ops[2] = Addend;
|
/external/llvm/tools/dsymutil/ |
H A D | DwarfLinker.cpp | 1136 uint64_t Addend; member in struct:llvm::dsymutil::__anon12628::DwarfLinker::RelocationManager::ValidReloc 1139 ValidReloc(uint32_t Offset, uint32_t Size, uint64_t Addend, argument 1141 : Offset(Offset), Size(Size), Addend(Addend), Mapping(Mapping) {} 1897 uint64_t Addend = Data.getUnsigned(&Offset, RelocSize); local 1907 ValidRelocs.emplace_back(Offset64, RelocSize, Addend, Mapping); 1908 } else if (const auto *Mapping = DMO.lookupObjectAddress(Addend)) { 1994 Info.AddrAdjust = int64_t(Mapping.BinaryAddress) + ValidReloc.Addend - 2578 Value += ValidReloc.Addend;
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 140 int64_t &Addend); 479 int64_t Addend; local 481 Addend)) { 499 return Addend >= 0 && (Addend % Scale) == 0; 503 return Addend == 0; 712 int64_t Addend; local 714 DarwinRefKind, Addend)) { 717 || (DarwinRefKind == MCSymbolRefExpr::VK_GOTPAGEOFF && Addend == 0) 801 int64_t Addend; local 2162 int64_t Addend; local 3609 int64_t Addend; local 4420 classifySymbolRef(const MCExpr *Expr, AArch64MCExpr::VariantKind &ELFRefKind, MCSymbolRefExpr::VariantKind &DarwinRefKind, int64_t &Addend) argument [all...] |
/external/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 6373 /// and data being relocated, determine the best base Name and Addend to use for 6385 StringRef &Name, uint64_t &Addend) { 6391 Addend = Addr; 6405 Addend = Addr - SectionAddr; 6419 Addend = Addr - Sym->first; 6426 Addend = Addr - SectionAddr; 6433 uint64_t Addend; local 6438 findUnwindRelocNameAddend(Obj, Symbols, Reloc, Addr, Name, Addend); 6441 if (Addend) 6442 outs() << " + " << format("0x%" PRIx64, Addend); 6382 findUnwindRelocNameAddend(const MachOObjectFile *Obj, std::map<uint64_t, SymbolRef> &Symbols, const RelocationRef &Reloc, uint64_t Addr, StringRef &Name, uint64_t &Addend) argument [all...] |