Home
last modified time | relevance | path

Searched refs:StackAlignment (Results 1 – 25 of 58) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFrameInfo.cpp33 assert(Alignment <= StackAlignment && in ensureMaxAlignment()
41 Align StackAlignment) { in clampStackAlignment() argument
42 if (!ShouldClamp || Alignment <= StackAlignment) in clampStackAlignment()
45 << " exceeds the stack alignment " << StackAlignment.value() in clampStackAlignment()
47 return StackAlignment; in clampStackAlignment()
55 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateStackObject()
66 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateSpillStackObject()
76 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateVariableSizedObject()
92 commonAlignment(ForcedRealign ? Align::None() : StackAlignment, SPOffset); in CreateFixedObject()
93 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateFixedObject()
[all …]
DSafeStackLayout.h54 StackLayout(unsigned StackAlignment) : MaxAlignment(StackAlignment) {} in StackLayout() argument
DSafeStack.cpp144 enum { StackAlignment = 16 }; enumerator
501 StackLayout SSL(StackAlignment); in moveStaticAllocasToUnsafeStack()
540 if (FrameAlignment > StackAlignment) { in moveStaticAllocasToUnsafeStack()
627 unsigned FrameSize = alignTo(SSL.getFrameSize(), StackAlignment); in moveStaticAllocasToUnsafeStack()
663 (unsigned)StackAlignment); in moveDynamicAllocasToUnsafeStack()
/external/llvm/include/llvm/Target/
DTargetFrameLowering.h48 unsigned StackAlignment; variable
55 : StackDir(D), StackAlignment(StackAl), TransientStackAlignment(TransAl), in StackDir()
71 unsigned getStackAlignment() const { return StackAlignment; } in getStackAlignment()
78 SPAdj = -alignTo(-SPAdj, StackAlignment); in alignSPAdjust()
80 SPAdj = alignTo(SPAdj, StackAlignment); in alignSPAdjust()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetFrameLowering.h57 Align StackAlignment; variable
64 : StackDir(D), StackAlignment(StackAl), TransientStackAlignment(TransAl), in StackDir()
80 unsigned getStackAlignment() const { return StackAlignment.value(); } in getStackAlignment()
87 SPAdj = -alignTo(-SPAdj, StackAlignment); in alignSPAdjust()
89 SPAdj = alignTo(SPAdj, StackAlignment); in alignSPAdjust()
DMachineFrameInfo.h193 Align StackAlignment; variable
339 explicit MachineFrameInfo(unsigned StackAlignment, bool StackRealignable, in MachineFrameInfo() argument
341 : StackAlignment(assumeAligned(StackAlignment)), in MachineFrameInfo()
/external/llvm/lib/IR/
DAttributes.cpp118 return get(Context, StackAlignment, Align); in getWithStackAlignment()
201 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
351 if (hasAttribute(Attribute::StackAlignment)) in getAsString()
496 case Attribute::StackAlignment: return 7 << 26; in getAttrMask()
607 if (I.hasAttribute(Attribute::StackAlignment)) in getStackAlignment()
665 else if (Kind == Attribute::StackAlignment) in Raw()
775 case Attribute::StackAlignment: in get()
1238 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0), in AttrBuilder()
1257 Alignment = StackAlignment = DerefBytes = DerefOrNullBytes = 0; in clear()
1263 assert(Val != Attribute::Alignment && Val != Attribute::StackAlignment && in addAttribute()
[all …]
/external/llvm/lib/CodeGen/
DMachineFunction.cpp94 if (Fn->hasFnAttribute(Attribute::StackAlignment)) in getFnStackAlignment()
119 F->hasFnAttribute(Attribute::StackAlignment)); in MachineFunction()
121 if (Fn->hasFnAttribute(Attribute::StackAlignment)) in MachineFunction()
565 assert(Align <= StackAlignment && in ensureMaxAlignment()
586 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateStackObject()
599 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateSpillStackObject()
612 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateVariableSizedObject()
631 unsigned Align = MinAlign(SPOffset, ForcedRealign ? 1 : StackAlignment); in CreateFixedObject()
632 Align = clampStackAlignment(!StackRealignable, Align, StackAlignment); in CreateFixedObject()
643 unsigned Align = MinAlign(SPOffset, ForcedRealign ? 1 : StackAlignment); in CreateFixedSpillStackObject()
[all …]
DSafeStackLayout.h45 StackLayout(unsigned StackAlignment) : MaxAlignment(StackAlignment) {} in StackLayout() argument
DSafeStack.cpp125 enum { StackAlignment = 16 }; enumerator
527 StackLayout SSL(StackAlignment); in moveStaticAllocasToUnsafeStack()
566 if (FrameAlignment > StackAlignment) { in moveStaticAllocasToUnsafeStack()
659 unsigned FrameSize = alignTo(SSL.getFrameSize(), StackAlignment); in moveStaticAllocasToUnsafeStack()
694 (unsigned)StackAlignment); in moveDynamicAllocasToUnsafeStack()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp152 return get(Context, StackAlignment, A.value()); in getWithStackAlignment()
251 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
436 if (hasAttribute(Attribute::StackAlignment)) in getAsString()
785 case Attribute::StackAlignment: in get()
847 if (I.hasAttribute(Attribute::StackAlignment)) in getStackAlignment()
1440 StackAlignment.reset(); in clear()
1448 assert(Val != Attribute::Alignment && Val != Attribute::StackAlignment && in addAttribute()
1466 else if (Kind == Attribute::StackAlignment) in addAttribute()
1467 StackAlignment = Attr.getStackAlignment(); in addAttribute()
1490 else if (Val == Attribute::StackAlignment) in removeAttribute()
[all …]
/external/llvm/include/llvm/IR/
DAttributes.h447 uint64_t StackAlignment;
454 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
457 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
462 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
522 uint64_t getStackAlignment() const { return StackAlignment; }
/external/llvm/include/llvm/CodeGen/
DMachineFrameInfo.h139 unsigned StackAlignment; variable
282 explicit MachineFrameInfo(unsigned StackAlignment, bool StackRealignable, in MachineFrameInfo() argument
284 : StackAlignment(StackAlignment), StackRealignable(StackRealignable), in MachineFrameInfo()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h444 uint64_t StackAlignment;
451 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
454 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
514 uint64_t getStackAlignment() const { return StackAlignment; }
DAttributes.inc45 StackAlignment,
102 .Case("alignstack", Attribute::StackAlignment)
359 return llvm::Attribute::StackAlignment;
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp59 StackAlignment = 16; in initializeEnvironment()
142 StackAlignment = getPlatformStackAlignment(); in initSubtargetFeatures()
DPPCSubtarget.h81 unsigned StackAlignment; variable
163 unsigned getStackAlignment() const { return StackAlignment; } in getStackAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp63 StackAlignment = Align(16); in initializeEnvironment()
170 StackAlignment = getPlatformStackAlignment(); in initSubtargetFeatures()
DPPCSubtarget.h82 Align StackAlignment; variable
171 Align getStackAlignment() const { return StackAlignment; } in getStackAlignment()
/external/swiftshader/third_party/marl/src/
Dosfiber_test.cpp50 TEST_F(WithoutBoundScheduler, StackAlignment) { in TEST_F() argument
/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen45 StackAlignment,
102 .Case("alignstack", Attribute::StackAlignment)
359 return llvm::Attribute::StackAlignment;
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen45 StackAlignment,
102 .Case("alignstack", Attribute::StackAlignment)
359 return llvm::Attribute::StackAlignment;
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen45 StackAlignment,
102 .Case("alignstack", Attribute::StackAlignment)
359 return llvm::Attribute::StackAlignment;
/external/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen45 StackAlignment,
102 .Case("alignstack", Attribute::StackAlignment)
359 return llvm::Attribute::StackAlignment;
/external/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DAttributes.gen45 StackAlignment,
102 .Case("alignstack", Attribute::StackAlignment)
359 return llvm::Attribute::StackAlignment;

123