Home
last modified time | relevance | path

Searched refs:Layout (Results 1 – 25 of 108) sorted by relevance

12345

/freebsd-10-stable/contrib/apr/
Dconfig.layout13 <Layout apr>
27 </Layout>
30 <Layout classic>
43 </Layout>
47 <Layout GNU>
61 </Layout>
64 <Layout Mac OS X Server>
78 </Layout>
80 # Darwin/Mac OS Layout
81 <Layout Darwin>
[all …]
/freebsd-10-stable/contrib/apr-util/
Dconfig.layout13 <Layout apr-util>
27 </Layout>
30 <Layout classic>
43 </Layout>
47 <Layout GNU>
61 </Layout>
64 <Layout Mac OS X Server>
78 </Layout>
80 # Darwin/Mac OS Layout
81 <Layout Darwin>
[all …]
/freebsd-10-stable/contrib/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp29 const MCAsmLayout &Layout,
37 const MCAsmLayout &Layout,
45 const MCAsmLayout &Layout,
52 const MCAsmLayout &Layout,
64 const MCAssembler &Asm, const MCAsmLayout &Layout, in RecordRelocation() argument
68 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
71 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
102 const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
113 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordX86_64Relocation()
115 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in RecordX86_64Relocation()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp106 const ASTRecordLayout &Layout);
112 bool LayoutBitfields(const ASTRecordLayout &Layout,
132 const ASTRecordLayout &Layout);
137 const ASTRecordLayout &Layout);
145 const ASTRecordLayout &Layout);
198 void Layout(const RecordDecl *D);
203 void CGRecordLayoutBuilder::Layout(const RecordDecl *D) { in Layout() function in CGRecordLayoutBuilder
204 const ASTRecordLayout &Layout = Types.getContext().getASTRecordLayout(D); in Layout() local
205 Alignment = Layout.getAlignment(); in Layout()
206 Packed = D->hasAttr<PackedAttr>() || Layout.getSize() % Alignment != 0; in Layout()
[all …]
/freebsd-10-stable/contrib/llvm/lib/MC/
DMCAssembler.cpp355 bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout, in evaluateFixup() argument
360 if (!Fixup.getValue()->EvaluateAsRelocatable(Target, Layout)) in evaluateFixup()
394 Value += Layout.getSymbolOffset(&getSymbolData(Sym)); in evaluateFixup()
399 Value -= Layout.getSymbolOffset(&getSymbolData(Sym)); in evaluateFixup()
409 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset(); in evaluateFixup()
419 Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value, in evaluateFixup()
425 uint64_t MCAssembler::computeFragmentSize(const MCAsmLayout &Layout, in computeFragmentSize() argument
440 unsigned Offset = Layout.getFragmentOffset(&AF); in computeFragmentSize()
456 if (!OF.getOffset().EvaluateAsAbsolute(TargetLocation, Layout)) in computeFragmentSize()
460 uint64_t FragmentOffset = Layout.getFragmentOffset(&OF); in computeFragmentSize()
[all …]
DMachObjectWriter.cpp68 const MCAsmLayout &Layout) const { in getFragmentAddress()
70 Layout.getFragmentOffset(Fragment); in getFragmentAddress()
74 const MCAsmLayout &Layout) const { in getSymbolAddress()
85 if (!S.getVariableValue()->EvaluateAsRelocatable(Target, Layout)) in getSymbolAddress()
99 Address += getSymbolAddress(&Layout.getAssembler().getSymbolData( in getSymbolAddress()
100 Target.getSymA()->getSymbol()), Layout); in getSymbolAddress()
102 Address += getSymbolAddress(&Layout.getAssembler().getSymbolData( in getSymbolAddress()
103 Target.getSymB()->getSymbol()), Layout); in getSymbolAddress()
108 Layout.getSymbolOffset(SD); in getSymbolAddress()
112 const MCAsmLayout &Layout) const { in getPaddingSize()
[all …]
DMCExpr.cpp426 const MCAsmLayout &Layout) const { in EvaluateAsAbsolute()
427 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, 0); in EvaluateAsAbsolute()
431 const MCAsmLayout &Layout, in EvaluateAsAbsolute() argument
433 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in EvaluateAsAbsolute()
441 const MCAsmLayout *Layout, in EvaluateAsAbsolute() argument
455 EvaluateAsRelocatableImpl(Value, Asm, Layout, Addrs, /*InSet*/ Addrs); in EvaluateAsAbsolute()
465 const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference() argument
500 if (!Layout) in AttemptToFoldSymbolOffsetDifference()
510 Addend += (Layout->getSymbolOffset(&Asm->getSymbolData(A->getSymbol())) - in AttemptToFoldSymbolOffsetDifference()
511 Layout->getSymbolOffset(&Asm->getSymbolData(B->getSymbol()))); in AttemptToFoldSymbolOffsetDifference()
[all …]
DELFObjectWriter.cpp46 static uint64_t SymbolValue(MCSymbolData &Data, const MCAsmLayout &Layout);
53 static uint64_t GetSectionFileSize(const MCAsmLayout &Layout,
55 static uint64_t GetSectionAddressSize(const MCAsmLayout &Layout,
59 const MCAsmLayout &Layout,
243 const MCAsmLayout &Layout);
249 const MCAsmLayout &Layout,
253 const MCAsmLayout &Layout,
285 void CreateRelocationSections(MCAssembler &Asm, MCAsmLayout &Layout,
288 void WriteRelocations(MCAssembler &Asm, MCAsmLayout &Layout,
291 void CreateMetadataSections(MCAssembler &Asm, MCAsmLayout &Layout,
[all …]
DWinCOFFObjectWriter.cpp152 const MCAsmLayout &Layout);
171 void ExecutePostLayoutBinding(MCAssembler &Asm, const MCAsmLayout &Layout);
174 const MCAsmLayout &Layout,
180 void WriteObject(MCAssembler &Asm, const MCAsmLayout &Layout);
403 const MCAsmLayout &Layout) { in DefineSymbol() argument
446 if (Symbol.getVariableValue()->EvaluateAsAbsolute(Addr, Layout)) in DefineSymbol()
613 const MCAsmLayout &Layout) { in ExecutePostLayoutBinding() argument
624 DefineSymbol(*i, Asm, Layout); in ExecutePostLayoutBinding()
630 const MCAsmLayout &Layout, in RecordRelocation() argument
661 int64_t a = Layout.getSymbolOffset(&B_SD); in RecordRelocation()
[all …]
/freebsd-10-stable/contrib/llvm/include/llvm/MC/
DMCMachObjectWriter.h73 const MCAsmLayout &Layout,
141 const MCAsmLayout &Layout) const;
144 const MCAsmLayout &Layout) const;
147 const MCAsmLayout &Layout) const;
176 void WriteSection(const MCAssembler &Asm, const MCAsmLayout &Layout,
193 void WriteNlist(MachSymbolData &MSD, const MCAsmLayout &Layout);
220 const MCAsmLayout &Layout,
227 const MCAsmLayout &Layout,
232 void RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
247 const MCAsmLayout &Layout);
[all …]
DMCAssembler.h907 bool evaluateFixup(const MCAsmLayout &Layout,
914 const MCAsmLayout &Layout) const;
918 const MCAsmLayout &Layout) const;
922 bool layoutOnce(MCAsmLayout &Layout);
926 bool layoutSectionOnce(MCAsmLayout &Layout, MCSectionData &SD);
928 bool relaxInstruction(MCAsmLayout &Layout, MCRelaxableFragment &IF);
930 bool relaxLEB(MCAsmLayout &Layout, MCLEBFragment &IF);
932 bool relaxDwarfLineAddr(MCAsmLayout &Layout, MCDwarfLineAddrFragment &DF);
933 bool relaxDwarfCallFrameFragment(MCAsmLayout &Layout,
937 void finishLayout(MCAsmLayout &Layout);
[all …]
DMCObjectWriter.h71 const MCAsmLayout &Layout) = 0;
80 const MCAsmLayout &Layout,
109 const MCAsmLayout &Layout) = 0;
DMCExpr.h48 const MCAsmLayout *Layout,
54 const MCAsmLayout *Layout,
81 bool EvaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout,
85 bool EvaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout) const;
93 bool EvaluateAsRelocatable(MCValue &Res, const MCAsmLayout &Layout) const;
503 const MCAsmLayout *Layout) const = 0;
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp29 const MCAsmLayout &Layout,
35 const MCAsmLayout &Layout,
45 const MCAsmLayout &Layout, const MCFragment *Fragment, in RecordRelocation() argument
51 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
177 static uint32_t getFixupOffset(const MCAsmLayout &Layout, in getFixupOffset() argument
180 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in getFixupOffset()
193 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in RecordScatteredRelocation() argument
197 const uint32_t FixupOffset = getFixupOffset(Layout, Fragment, Fixup); in RecordScatteredRelocation()
215 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordScatteredRelocation()
229 Value2 = Writer->getSymbolAddress(B_SD, Layout); in RecordScatteredRelocation()
[all …]
DPPCMCExpr.cpp54 const MCAsmLayout *Layout) const { in EvaluateAsRelocatableImpl()
57 if (!Layout || !getSubExpr()->EvaluateAsRelocatable(Value, *Layout)) in EvaluateAsRelocatableImpl()
89 MCContext &Context = Layout->getAssembler().getContext(); in EvaluateAsRelocatableImpl()
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp31 const MCAsmLayout &Layout,
39 const MCAsmLayout &Layout,
57 const MCAssembler &Asm, const MCAsmLayout &Layout,
148 const MCAsmLayout &Layout, in RecordARMScatteredHalfRelocation() argument
153 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredHalfRelocation()
166 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordARMScatteredHalfRelocation()
182 Value2 = Writer->getSymbolAddress(B_SD, Layout); in RecordARMScatteredHalfRelocation()
253 const MCAsmLayout &Layout, in RecordARMScatteredRelocation() argument
259 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordARMScatteredRelocation()
272 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordARMScatteredRelocation()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DRecordLayoutBuilder.cpp97 getFieldOffset(const ASTRecordLayout &Layout, unsigned FieldNo) const { in getFieldOffset() argument
98 uint64_t FieldOffset = Layout.getFieldOffset(FieldNo); in getFieldOffset()
149 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl); in ComputeEmptySubobjectSizes() local
152 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
155 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes()
175 const ASTRecordLayout &Layout = Context.getASTRecordLayout(MemberDecl); in ComputeEmptySubobjectSizes() local
178 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
181 EmptySize = Layout.getSizeOfLargestEmptySubobject(); in ComputeEmptySubobjectSizes()
239 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Info->Class); in CanPlaceBaseSubobjectAtOffset() local
245 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in CanPlaceBaseSubobjectAtOffset()
[all …]
DVTTBuilder.cpp69 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); in LayoutSecondaryVTTs() local
71 Layout.getBaseClassOffset(BaseDecl); in LayoutSecondaryVTTs()
117 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); in LayoutSecondaryVirtualPointers() local
120 Layout.getBaseClassOffset(BaseDecl); in LayoutSecondaryVirtualPointers()
122 if (!Layout.isPrimaryBaseVirtual() && in LayoutSecondaryVirtualPointers()
123 Layout.getPrimaryBase() == BaseDecl) in LayoutSecondaryVirtualPointers()
DVTableBuilder.cpp237 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Element.Class); in ComputeBaseOffset() local
241 NonVirtualOffset += Layout.getBaseClassOffset(Base); in ComputeBaseOffset()
358 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in ComputeBaseOffsets() local
359 CharUnits Offset = Layout.getBaseClassOffset(BaseDecl); in ComputeBaseOffsets()
375 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in dump() local
394 BaseOffset = Layout.getBaseClassOffset(BaseDecl) + Base.getBaseOffset(); in dump()
609 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Base.getBase()); in AddVCallAndVBaseOffsets() local
620 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in AddVCallAndVBaseOffsets()
621 bool PrimaryBaseIsVirtual = Layout.isPrimaryBaseVirtual(); in AddVCallAndVBaseOffsets()
627 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Target/R600/MCTargetDesc/
DAMDGPUAsmBackend.cpp27 const MCAsmLayout &Layout) { in ExecutePostLayoutBinding() argument
31 const MCAsmLayout &Layout, in RecordRelocation() argument
38 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()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
DLayoutOverrideSource.cpp37 Layout CurrentLayout; in LayoutOverrideSource()
51 CurrentLayout = Layout(); in LayoutOverrideSource()
73 CurrentLayout = Layout(); in LayoutOverrideSource()
167 llvm::StringMap<Layout>::iterator Known = Layouts.find(Record->getName()); in layoutRecordType()
193 for (llvm::StringMap<Layout>::iterator L = Layouts.begin(), in dump()
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
DStackProtector.cpp58 return AI ? Layout.lookup(AI) : SSPLK_None; in getSSPLayout()
207 Layout.insert(std::make_pair(AI, SSPLK_LargeArray)); in RequiresStackProtector()
211 Layout.insert(std::make_pair(AI, SSPLK_SmallArray)); in RequiresStackProtector()
216 Layout.insert(std::make_pair(AI, SSPLK_LargeArray)); in RequiresStackProtector()
224 Layout.insert(std::make_pair(AI, IsLarge ? SSPLK_LargeArray in RequiresStackProtector()
232 Layout.insert(std::make_pair(AI, SSPLK_AddrOf)); in RequiresStackProtector()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/
DLayoutOverrideSource.h27 struct Layout { struct
39 llvm::StringMap<Layout> Layouts; argument
/freebsd-10-stable/contrib/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp130 bool TryParseVector(uint32_t &RegNum, SMLoc &RegEndLoc, StringRef &Layout,
202 A64Layout::VectorLayout Layout; member
753 template <A64Layout::VectorLayout Layout, unsigned Count>
755 return Kind == k_VectorList && VectorList.Layout == Layout && in isVectorList()
891 A64Layout::VectorLayout Layout, in CreateVectorList() argument
896 Op->VectorList.Layout = Layout; in CreateVectorList()
1614 StringRef &Layout, in IdentifyRegister() argument
1629 Layout = StringRef(); in IdentifyRegister()
1641 Layout = StringSwitch<const char *>(LayoutText) in IdentifyRegister()
1649 if (Layout.size() != 0) in IdentifyRegister()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
DDebugIR.cpp147 DataLayout Layout; member in __anon5837df1b0111::DIUpdater
174 : Builder(M), Layout(&M), LineTable(DisplayM ? DisplayM : &M), VMap(VMap), in DIUpdater()
386 0, Layout.getTypeSizeInBits(T), Layout.getABITypeAlignment(T), 0, in getOrCreateType()
405 getOrCreateType(PointeeTy), Layout.getPointerTypeSizeInBits(T), in getOrCreateType()
406 Layout.getPrefTypeAlignment(T), getTypeName(T)); in getOrCreateType()
412 N = Builder.createArrayType(Layout.getTypeSizeInBits(T), in getOrCreateType()
413 Layout.getPrefTypeAlignment(T), in getOrCreateType()

12345