/external/llvm/lib/MC/ |
D | MCAssembler.cpp | 169 bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout, in evaluateFixup() argument 178 if (!Expr->evaluateAsRelocatable(Target, &Layout, &Fixup)) { in evaluateFixup() 214 Value += Layout.getSymbolOffset(Sym); in evaluateFixup() 219 Value -= Layout.getSymbolOffset(Sym); in evaluateFixup() 229 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset(); in evaluateFixup() 239 Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value, in evaluateFixup() 245 uint64_t MCAssembler::computeFragmentSize(const MCAsmLayout &Layout, in computeFragmentSize() argument 265 unsigned Offset = Layout.getFragmentOffset(&AF); in computeFragmentSize() 281 if (!OF.getOffset().evaluateAsValue(Value, Layout)) in computeFragmentSize() 285 uint64_t FragmentOffset = Layout.getFragmentOffset(&OF); in computeFragmentSize() [all …]
|
D | MCExpr.cpp | 398 const MCAsmLayout &Layout) const { in evaluateAsAbsolute() 399 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr); in evaluateAsAbsolute() 403 const MCAsmLayout &Layout, in evaluateAsAbsolute() argument 405 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in evaluateAsAbsolute() 413 const MCAsmLayout &Layout) const { in evaluateKnownAbsolute() 414 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, in evaluateKnownAbsolute() 419 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument 424 return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs); in evaluateAsAbsolute() 428 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument 439 evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet); in evaluateAsAbsolute() [all …]
|
D | MachObjectWriter.cpp | 68 const MCAsmLayout &Layout) const { in getFragmentAddress() 70 Layout.getFragmentOffset(Fragment); in getFragmentAddress() 74 const MCAsmLayout &Layout) const { in getSymbolAddress() 82 if (!S.getVariableValue()->evaluateAsRelocatable(Target, &Layout, nullptr)) in getSymbolAddress() 96 Address += getSymbolAddress(Target.getSymA()->getSymbol(), Layout); in getSymbolAddress() 98 Address += getSymbolAddress(Target.getSymB()->getSymbol(), Layout); in getSymbolAddress() 103 Layout.getSymbolOffset(S); in getSymbolAddress() 107 const MCAsmLayout &Layout) const { in getPaddingSize() 108 uint64_t EndAddr = getSectionAddress(Sec) + Layout.getSectionAddressSize(Sec); in getPaddingSize() 110 if (Next >= Layout.getSectionOrder().size()) in getPaddingSize() [all …]
|
D | MCLinkerOptimizationHint.cpp | 28 const MCAsmLayout &Layout) const { in emit_impl() 32 encodeULEB128(ObjWriter.getSymbolAddress(*Arg, Layout), OutStream); in emit_impl() 36 const MCAsmLayout &Layout) const { in emit() 38 emit_impl(OutStream, ObjWriter, Layout); in emit() 42 const MCAsmLayout &Layout) const { in getEmitSize() 56 emit_impl(OutStream, ObjWriter, Layout); in getEmitSize()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | ModInfo.cpp | 70 ModInfo::ModInfo() : Layout(nullptr) {} in ModInfo() 74 Layout(Info.Layout) {} in ModInfo() 80 if (auto EC = Reader.readObject(Info.Layout)) in initialize() 91 bool ModInfo::hasECInfo() const { return (Layout->Flags & HasECFlagMask) != 0; } in hasECInfo() 94 return (Layout->Flags & TypeServerIndexMask) >> TypeServerIndexShift; in getTypeServerIndex() 97 uint16_t ModInfo::getModuleStreamIndex() const { return Layout->ModDiStream; } in getModuleStreamIndex() 100 return Layout->SymBytes; in getSymbolDebugInfoByteSize() 103 uint32_t ModInfo::getLineInfoByteSize() const { return Layout->LineBytes; } in getLineInfoByteSize() 105 uint32_t ModInfo::getC13LineInfoByteSize() const { return Layout->C13Bytes; } in getC13LineInfoByteSize() 107 uint32_t ModInfo::getNumberOfFiles() const { return Layout->NumFiles; } in getNumberOfFiles() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86MachObjectWriter.cpp | 28 const MCAsmLayout &Layout, 36 const MCAsmLayout &Layout, 44 const MCAsmLayout &Layout, 51 const MCAsmLayout &Layout, 63 const MCAssembler &Asm, const MCAsmLayout &Layout, in RecordRelocation() argument 67 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation() 70 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation() 101 const MCAsmLayout &Layout, in RecordX86_64Relocation() argument 112 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordX86_64Relocation() 114 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in RecordX86_64Relocation() [all …]
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MachObjectWriter.cpp | 30 const MCAsmLayout &Layout, 38 const MCAsmLayout &Layout, 46 const MCAsmLayout &Layout, 52 const MCAsmLayout &Layout, 61 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation() argument 65 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation() 68 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation() 103 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument 112 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordX86_64Relocation() 114 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in RecordX86_64Relocation() [all …]
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | MCAssembler.cpp | 240 bool MCAssembler::EvaluateFixup(const MCAsmLayout &Layout, in EvaluateFixup() argument 245 if (!Fixup.getValue()->EvaluateAsRelocatable(Target, Layout)) in EvaluateFixup() 280 Value += Layout.getSymbolOffset(&getSymbolData(Sym)); in EvaluateFixup() 287 Value -= Layout.getSymbolOffset(&getSymbolData(Sym)); in EvaluateFixup() 297 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset(); in EvaluateFixup() 315 uint64_t MCAssembler::ComputeFragmentSize(const MCAsmLayout &Layout, in ComputeFragmentSize() argument 330 unsigned Offset = Layout.getFragmentOffset(&AF); in ComputeFragmentSize() 340 if (!OF.getOffset().EvaluateAsAbsolute(TargetLocation, Layout)) in ComputeFragmentSize() 344 uint64_t FragmentOffset = Layout.getFragmentOffset(&OF); in ComputeFragmentSize() 384 static void WriteFragmentData(const MCAssembler &Asm, const MCAsmLayout &Layout, in WriteFragmentData() argument [all …]
|
D | MCExpr.cpp | 251 const MCAsmLayout &Layout) const { in EvaluateAsAbsolute() 252 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, 0); in EvaluateAsAbsolute() 256 const MCAsmLayout &Layout, in EvaluateAsAbsolute() argument 258 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in EvaluateAsAbsolute() 266 const MCAsmLayout *Layout, in EvaluateAsAbsolute() argument 280 EvaluateAsRelocatableImpl(Value, Asm, Layout, Addrs, /*InSet*/ Addrs); in EvaluateAsAbsolute() 290 const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference() argument 325 if (!Layout) in AttemptToFoldSymbolOffsetDifference() 335 Addend += (Layout->getSymbolOffset(&Asm->getSymbolData(A->getSymbol())) - in AttemptToFoldSymbolOffsetDifference() 336 Layout->getSymbolOffset(&Asm->getSymbolData(B->getSymbol()))); in AttemptToFoldSymbolOffsetDifference() [all …]
|
D | MachObjectWriter.cpp | 59 const MCAsmLayout &Layout) const { in getFragmentAddress() 61 Layout.getFragmentOffset(Fragment); in getFragmentAddress() 65 const MCAsmLayout &Layout) const { in getSymbolAddress() 71 if (!S.getVariableValue()->EvaluateAsRelocatable(Target, Layout)) in getSymbolAddress() 85 Address += getSymbolAddress(&Layout.getAssembler().getSymbolData( in getSymbolAddress() 86 Target.getSymA()->getSymbol()), Layout); in getSymbolAddress() 88 Address += getSymbolAddress(&Layout.getAssembler().getSymbolData( in getSymbolAddress() 89 Target.getSymB()->getSymbol()), Layout); in getSymbolAddress() 94 Layout.getSymbolOffset(SD); in getSymbolAddress() 98 const MCAsmLayout &Layout) const { in getPaddingSize() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCMachObjectWriter.h | 66 const MCAsmLayout &Layout, 127 const MCAsmLayout &Layout) const; 130 const MCAsmLayout &Layout) const; 133 const MCAsmLayout &Layout) const; 163 void WriteSection(const MCAssembler &Asm, const MCAsmLayout &Layout, 180 void WriteNlist(MachSymbolData &MSD, const MCAsmLayout &Layout); 202 const MCAsmLayout &Layout, 209 const MCAsmLayout &Layout, 214 void RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout, 231 const MCAsmLayout &Layout); [all …]
|
/external/llvm/include/llvm/MC/ |
D | MCAssembler.h | 164 bool evaluateFixup(const MCAsmLayout &Layout, const MCFixup &Fixup, 171 const MCAsmLayout &Layout) const; 175 const MCAsmLayout &Layout) const; 179 bool layoutOnce(MCAsmLayout &Layout); 183 bool layoutSectionOnce(MCAsmLayout &Layout, MCSection &Sec); 185 bool relaxInstruction(MCAsmLayout &Layout, MCRelaxableFragment &IF); 187 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF); 189 bool relaxDwarfLineAddr(MCAsmLayout &Layout, MCDwarfLineAddrFragment &DF); 190 bool relaxDwarfCallFrameFragment(MCAsmLayout &Layout, 192 bool relaxCVInlineLineTable(MCAsmLayout &Layout, [all …]
|
D | MCMachObjectWriter.h | 66 const MCAsmLayout &Layout, 140 uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const; 143 const MCAsmLayout &Layout) const; 145 uint64_t getPaddingSize(const MCSection *SD, const MCAsmLayout &Layout) const; 175 void writeSection(const MCAsmLayout &Layout, const MCSection &Sec, 189 void writeNlist(MachSymbolData &MSD, const MCAsmLayout &Layout); 222 const MCAsmLayout &Layout, 227 void recordTLVPRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout, 231 void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout, 245 const MCAsmLayout &Layout); [all …]
|
D | MCLinkerOptimizationHint.h | 110 const MCAsmLayout &Layout) const; 126 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const; 131 const MCAsmLayout &Layout) const; 159 const MCAsmLayout &Layout) const { in getEmitSize() argument 162 EmitSize += D.getEmitSize(ObjWriter, Layout); in getEmitSize() 169 void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const { in emit() argument 171 D.emit(ObjWriter, Layout); in emit()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 29 const MCAsmLayout &Layout, 37 const MCAsmLayout &Layout, 49 const MCAssembler &Asm, const MCAsmLayout &Layout, 124 const MCAsmLayout &Layout, in RecordARMMovwMovtRelocation() argument 129 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMMovwMovtRelocation() 141 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordARMMovwMovtRelocation() 156 Value2 = Writer->getSymbolAddress(B_SD, Layout); in RecordARMMovwMovtRelocation() 221 const MCAsmLayout &Layout, in RecordARMScatteredRelocation() argument 227 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredRelocation() 239 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordARMScatteredRelocation() [all …]
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MachObjectWriter.cpp | 37 const MCAsmLayout &Layout, const MCFragment *Fragment, 145 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in recordRelocation() argument 151 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment); in recordRelocation() 224 Layout.getSymbolOffset(*B) == in recordRelocation() 225 Layout.getFragmentOffset(Fragment) + Fixup.getOffset()) { in recordRelocation() 277 Value += (!A->getFragment() ? 0 : Writer->getSymbolAddress(*A, Layout)) - in recordRelocation() 279 *A_Base, Layout)); in recordRelocation() 280 Value -= (!B->getFragment() ? 0 : Writer->getSymbolAddress(*B, Layout)) - in recordRelocation() 282 *B_Base, Layout)); in recordRelocation() 316 Res, Layout, Writer->getSectionAddressMap())) { in recordRelocation() [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | TypeRecord.cpp | 23 const Layout *L = nullptr; in deserialize() 36 const Layout *L = nullptr; in deserialize() 48 const Layout *L = nullptr; in deserialize() 58 const Layout *L = nullptr; in deserialize() 67 const Layout *L = nullptr; in deserialize() 78 const Layout *L = nullptr; in deserialize() 86 const Layout *L = nullptr; in deserialize() 108 const Layout *L = nullptr; in deserialize() 116 const Layout *L = nullptr; in deserialize() 129 const Layout *L = nullptr; in deserialize() [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMachObjectWriter.cpp | 29 const MCAsmLayout &Layout, 35 const MCAsmLayout &Layout, 44 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation() argument 50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation() 176 static uint32_t getFixupOffset(const MCAsmLayout &Layout, in getFixupOffset() argument 179 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in getFixupOffset() 192 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in recordScatteredRelocation() argument 196 const uint32_t FixupOffset = getFixupOffset(Layout, Fragment, Fixup); in recordScatteredRelocation() 213 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation() 226 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in recordScatteredRelocation() [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorChipping.h | 34 static const int Layout = XprTraits::Layout; 147 Layout = TensorEvaluator<ArgType, Device>::Layout, 171 if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) { 208 if ((static_cast<int>(Layout) == static_cast<int>(ColMajor) && m_dim.actualDim() == 0) || 209 (static_cast<int>(Layout) == static_cast<int>(RowMajor) && m_dim.actualDim() == NumInputDims-1)) { 220 …} else if ((static_cast<int>(Layout) == static_cast<int>(ColMajor) && m_dim.actualDim() == NumInpu… 221 (static_cast<int>(Layout) == static_cast<int>(RowMajor) && m_dim.actualDim() == 0)) { 247 if ((static_cast<int>(Layout) == static_cast<int>(ColMajor) && 249 (static_cast<int>(Layout) == static_cast<int>(RowMajor) && 252 } else if ((static_cast<int>(Layout) == static_cast<int>(ColMajor) && [all …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 31 const MCAsmLayout &Layout, 40 const MCAsmLayout &Layout, 55 const MCAsmLayout &Layout, const MCFragment *Fragment, 141 const MCAsmLayout &Layout, in RecordARMScatteredHalfRelocation() argument 146 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredHalfRelocation() 160 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredHalfRelocation() 177 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in RecordARMScatteredHalfRelocation() 245 const MCAsmLayout &Layout, in RecordARMScatteredRelocation() argument 252 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredRelocation() 265 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in RecordARMScatteredRelocation() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | ASanStackFrameLayout.cpp | 53 ASanStackFrameLayout *Layout) { in ComputeASanStackFrameLayout() argument 67 Layout->FrameAlignment = std::max(Granularity, Vars[0].Alignment); in ComputeASanStackFrameLayout() 68 SmallVector<uint8_t, 64> &SB(Layout->ShadowBytes); in ComputeASanStackFrameLayout() 81 assert(Layout->FrameAlignment >= Alignment); in ComputeASanStackFrameLayout() 104 Layout->DescriptionString = StackDescription.str(); in ComputeASanStackFrameLayout() 105 Layout->FrameSize = Offset; in ComputeASanStackFrameLayout() 106 assert((Layout->FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout() 107 assert(Layout->FrameSize / Granularity == Layout->ShadowBytes.size()); in ComputeASanStackFrameLayout()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 142 getFieldOffset(const ASTRecordLayout &Layout, unsigned FieldNo) const { in getFieldOffset() argument 143 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); in getFieldOffset() 192 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl); in ComputeEmptySubobjectSizes() local 195 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes() 198 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes() 216 const ASTRecordLayout &Layout = Context.getASTRecordLayout(MemberDecl); in ComputeEmptySubobjectSizes() local 219 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes() 222 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes() 280 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Info->Class); in CanPlaceBaseSubobjectAtOffset() local 285 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in CanPlaceBaseSubobjectAtOffset() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
D | AMDGPUAsmBackend.cpp | 26 const MCAsmLayout &Layout) { in ExecutePostLayoutBinding() argument 30 const MCAsmLayout &Layout, in RecordRelocation() argument 37 virtual void WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout); 52 const MCAsmLayout &Layout) const { in fixupNeedsRelaxation() 67 const MCAsmLayout &Layout) { in WriteObject() argument 69 Asm.writeSectionData(I, Layout); in WriteObject()
|
/external/skia/src/views/ |
D | SkViewPriv.cpp | 58 void SkView::Layout::layoutChildren(SkView* parent) in layoutChildren() 65 void SkView::Layout::inflate(const SkDOM& dom, const SkDOM::Node* node) in inflate() 71 void SkView::Layout::onInflate(const SkDOM&, const SkDOM::Node*) in onInflate() 76 SkView::Layout* SkView::getLayout() const in getLayout() 84 SkView::Layout* SkView::setLayout(Layout* obj, bool invokeLayoutNow) in setLayout()
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeRecord.h | 94 struct Layout { struct 132 struct Layout { struct 158 static uint32_t getLayoutSize() { return 2 + sizeof(Layout); } in getLayoutSize() 167 struct Layout { struct 212 struct Layout { struct 252 struct Layout { struct 277 static uint32_t getLayoutSize() { return 2 + sizeof(Layout); } in getLayoutSize() argument 280 struct Layout { struct 344 struct Layout { struct 399 struct Layout { struct [all …]
|