Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineFrameInfo.cpp34 assert(Align <= StackAlignment && in ensureMaxAlignment()
55 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateStackObject()
66 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateSpillStackObject()
76 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateVariableSizedObject()
91 unsigned Alignment = MinAlign(SPOffset, ForcedRealign ? 1 : StackAlignment); in CreateFixedObject()
92 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateFixedObject()
103 unsigned Alignment = MinAlign(SPOffset, ForcedRealign ? 1 : StackAlignment); in CreateFixedSpillStackObject()
104 Alignment = clampStackAlignment(!StackRealignable, Alignment, StackAlignment); in CreateFixedSpillStackObject()
DSafeStackLayout.h55 StackLayout(unsigned StackAlignment) : MaxAlignment(StackAlignment) {} in StackLayout() argument
DSafeStack.cpp144 enum { StackAlignment = 16 }; enumerator
497 StackLayout SSL(StackAlignment); in moveStaticAllocasToUnsafeStack()
536 if (FrameAlignment > StackAlignment) { in moveStaticAllocasToUnsafeStack()
631 unsigned FrameSize = alignTo(SSL.getFrameSize(), StackAlignment); in moveStaticAllocasToUnsafeStack()
666 (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-7.0/llvm/include/llvm/CodeGen/
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()
DMachineFrameInfo.h177 unsigned StackAlignment; variable
319 explicit MachineFrameInfo(unsigned StackAlignment, bool StackRealignable, in MachineFrameInfo() argument
321 : StackAlignment(StackAlignment), StackRealignable(StackRealignable), 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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DAttributesTest.cpp97 EXPECT_TRUE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST()
108 EXPECT_TRUE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST()
112 AL = AL.removeAttribute(C, 0, Attribute::StackAlignment); in TEST()
115 EXPECT_FALSE(AL.hasAttribute(0, Attribute::StackAlignment)); in TEST()
125 EXPECT_TRUE(AL2.hasAttribute(0, Attribute::StackAlignment)); in TEST()
132 EXPECT_FALSE(AL2.hasAttribute(0, Attribute::StackAlignment)); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetFrameLowering.h52 unsigned StackAlignment; variable
58 : StackDir(D), StackAlignment(StackAl), TransientStackAlignment(TransAl), in StackDir()
74 unsigned getStackAlignment() const { return StackAlignment; } in getStackAlignment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp135 return get(Context, StackAlignment, Align); in getWithStackAlignment()
218 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
380 if (hasAttribute(Attribute::StackAlignment)) in getAsString()
694 case Attribute::StackAlignment: in get()
755 if (I.hasAttribute(Attribute::StackAlignment)) in getStackAlignment()
1334 Alignment = StackAlignment = DerefBytes = DerefOrNullBytes = 0; in clear()
1340 assert(Val != Attribute::Alignment && Val != Attribute::StackAlignment && in addAttribute()
1358 else if (Kind == Attribute::StackAlignment) in addAttribute()
1359 StackAlignment = Attr.getStackAlignment(); in addAttribute()
1380 else if (Val == Attribute::StackAlignment) in removeAttribute()
[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/lib/Target/CellSPU/
DSPUSubtarget.h39 unsigned StackAlignment;
70 unsigned getStackAlignment() const { return StackAlignment; } in getStackAlignment()
DSPUSubtarget.cpp29 StackAlignment(16), in SPUSubtarget()
/external/swiftshader/third_party/LLVM/include/llvm/
DAttributes.h63 const Attributes StackAlignment = 7<<26; ///< Alignment of stack for variable
94 NoRedZone | NoImplicitFloat | Naked | InlineHint | StackAlignment |
147 Attributes StackAlign = A & Attribute::StackAlignment; in getStackAlignmentFromAttrs()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCSubtarget.h53 unsigned StackAlignment;
93 unsigned getStackAlignment() const { return StackAlignment; } in getStackAlignment()
DPPCSubtarget.cpp68 , StackAlignment(16) in PPCSubtarget()
/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.h449 uint64_t StackAlignment;
456 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
459 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
519 uint64_t getStackAlignment() const { return StackAlignment; }
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp59 StackAlignment = 16; in initializeEnvironment()
155 StackAlignment = getPlatformStackAlignment(); in initSubtargetFeatures()
DPPCSubtarget.h82 unsigned StackAlignment; variable
167 unsigned getStackAlignment() const { return StackAlignment; } in getStackAlignment()
/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()

123