Home
last modified time | relevance | path

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

12

/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/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 …]
DAttributeImpl.h122 assert((Kind == Attribute::Alignment || Kind == Attribute::StackAlignment || in IntAttributeImpl()
/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/lib/Target/CellSPU/
DSPUSubtarget.h39 unsigned StackAlignment;
70 unsigned getStackAlignment() const { return StackAlignment; } in getStackAlignment()
DSPUSubtarget.cpp29 StackAlignment(16), in SPUSubtarget()
/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()
DTargetRegisterInfo.cpp375 F->hasFnAttribute(Attribute::StackAlignment)); in needsStackRealignment()
/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/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/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; }
DFunction.h216 if (!hasFnAttribute(Attribute::StackAlignment))
DAttributes.td138 def StackAlignment : EnumAttr<"alignstack">;
/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/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/libchrome/base/memory/
Daligned_memory_unittest.cc36 TEST(AlignedMemoryTest, StackAlignment) { in TEST() argument
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp115 llvm::StackAlignment = 4; in lp_set_target_options()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86RegisterInfo.cpp464 F->hasFnAttr(Attribute::StackAlignment)); in needsStackRealignment()
840 unsigned StackAlignment = TFI->getStackAlignment(); in runOnMachineFunction() local
847 if (RI.getRegClass(Reg)->getAlignment() > StackAlignment) { in runOnMachineFunction()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAttributes.cpp79 if (Attrs & Attribute::StackAlignment) { in getAsString()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp611 unsigned StackAlignment; member
648 StackAlignment(1 << Mapping.Scale), in FunctionStackPoisoner()
731 StackAlignment = std::max(StackAlignment, AI.getAlignment()); in visitAllocaInst()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp727 unsigned StackAlignment = Opts.StackAlignment; in ParseCodeGenArgs() local
728 Val.getAsInteger(10, StackAlignment); in ParseCodeGenArgs()
729 Opts.StackAlignment = StackAlignment; in ParseCodeGenArgs()

12