Home
last modified time | relevance | path

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

/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 = -RoundUpToAlignment(-SPAdj, StackAlignment); in alignSPAdjust()
80 SPAdj = RoundUpToAlignment(SPAdj, StackAlignment); in alignSPAdjust()
/external/llvm/lib/IR/
DAttributes.cpp88 return get(Context, StackAlignment, Align); in getWithStackAlignment()
166 assert(hasAttribute(Attribute::StackAlignment) && in getStackAlignment()
305 if (hasAttribute(Attribute::StackAlignment)) in getAsString()
431 case Attribute::StackAlignment: return 7 << 26; in getAttrMask()
541 if (I->hasAttribute(Attribute::StackAlignment)) in getStackAlignment()
591 else if (Kind == Attribute::StackAlignment) in Raw()
698 case Attribute::StackAlignment: in get()
1134 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0), in AttrBuilder()
1153 Alignment = StackAlignment = DerefBytes = DerefOrNullBytes = 0; in clear()
1158 assert(Val != Attribute::Alignment && Val != Attribute::StackAlignment && in addAttribute()
[all …]
DAttributeImpl.h119 assert((Kind == Attribute::Alignment || Kind == Attribute::StackAlignment || in IntAttributeImpl()
DVerifier.cpp1240 I->getKindAsEnum() == Attribute::StackAlignment || in VerifyAttributeTypes()
/external/llvm/include/llvm/IR/
DAttributes.h395 uint64_t StackAlignment;
401 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
404 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
409 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
469 uint64_t getStackAlignment() const { return StackAlignment; }
DAttributes.td134 def StackAlignment : EnumAttr<"alignstack">;
/external/llvm/lib/CodeGen/
DMachineFunction.cpp78 if (Fn->hasFnAttribute(Attribute::StackAlignment)) in MachineFunction()
519 assert(Align <= StackAlignment && in ensureMaxAlignment()
541 Alignment, StackAlignment); in CreateStackObject()
555 Alignment, StackAlignment); in CreateSpillStackObject()
569 Alignment, StackAlignment); in CreateVariableSizedObject()
586 unsigned Align = MinAlign(SPOffset, StackAlignment); in CreateFixedObject()
588 StackAlignment); in CreateFixedObject()
599 unsigned Align = MinAlign(SPOffset, StackAlignment); in CreateFixedSpillStackObject()
601 StackAlignment); in CreateFixedSpillStackObject()
DTargetRegisterInfo.cpp382 F->hasFnAttribute(Attribute::StackAlignment)); in needsStackRealignment()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp59 StackAlignment = 16; in initializeEnvironment()
138 StackAlignment = getPlatformStackAlignment(); in initSubtargetFeatures()
DPPCSubtarget.h73 unsigned StackAlignment; variable
151 unsigned getStackAlignment() const { return StackAlignment; } in getStackAlignment()
/external/llvm/lib/Transforms/Instrumentation/
DSafeStack.cpp120 enum { StackAlignment = 16 }; enumerator
510 if (MaxAlignment > StackAlignment) { in moveStaticAllocasToUnsafeStack()
585 StaticOffset = RoundUpToAlignment(StaticOffset, StackAlignment); in moveStaticAllocasToUnsafeStack()
620 (unsigned)StackAlignment); in moveDynamicAllocasToUnsafeStack()
DAddressSanitizer.cpp562 unsigned StackAlignment; member
599 StackAlignment(1 << Mapping.Scale), in FunctionStackPoisoner()
682 StackAlignment = std::max(StackAlignment, AI.getAlignment()); in visitAllocaInst()
/external/llvm/include/llvm/CodeGen/
DMachineFrameInfo.h125 unsigned StackAlignment; variable
265 : StackAlignment(StackAlign), StackRealignable(isStackRealign), in MachineFrameInfo()
/external/libchrome/base/memory/
Daligned_memory_unittest.cc34 TEST(AlignedMemoryTest, StackAlignment) { in TEST() argument
/external/v8/test/cctest/
Dtest-platform.cc40 TEST(StackAlignment) { in TEST() argument
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp115 llvm::StackAlignment = 4; in lp_set_target_options()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp604 unsigned StackAlignment = Opts.StackAlignment; in ParseCodeGenArgs() local
605 Val.getAsInteger(10, StackAlignment); in ParseCodeGenArgs()
606 Opts.StackAlignment = StackAlignment; in ParseCodeGenArgs()
/external/clang/include/clang/Frontend/
DCodeGenOptions.def163 VALUE_CODEGENOPT(StackAlignment , 32, 0) ///< Overrides default stack
/external/clang/lib/CodeGen/
DBackendUtil.cpp550 Options.StackAlignmentOverride = CodeGenOpts.StackAlignment; in CreateTargetMachine()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp528 if (attrs.contains(Attribute::StackAlignment)) { in printAttributes()
531 attrs.removeAttribute(Attribute::StackAlignment); in printAttributes()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2621 unsigned StackAlignment = TFL->getStackAlignment(); in LowerCall() local
2622 NextStackOffset = RoundUpToAlignment(NextStackOffset, StackAlignment); in LowerCall()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1295 return Attribute::StackAlignment; in getAttrFromCode()
1388 else if (Kind == Attribute::StackAlignment) in parseAttributeGroupBlock()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp239 case Attribute::StackAlignment: in getAttrKindEncoding()
/external/llvm/bindings/go/llvm/
Dir.go145 StackAlignment Attribute = C.LLVMStackAlignment const
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp3600 unsigned StackAlignment = TFI.getStackAlignment(); in GetAlignedArgumentStackSize() local
3601 uint64_t AlignMask = StackAlignment - 1; in GetAlignedArgumentStackSize()
3604 if ( (Offset & AlignMask) <= (StackAlignment - SlotSize) ) { in GetAlignedArgumentStackSize()
3606 Offset += ((StackAlignment - SlotSize) - (Offset & AlignMask)); in GetAlignedArgumentStackSize()
3609 Offset = ((~AlignMask) & Offset) + StackAlignment + in GetAlignedArgumentStackSize()
3610 (StackAlignment-SlotSize); in GetAlignedArgumentStackSize()
17703 unsigned StackAlignment = TFI.getStackAlignment(); in LowerFLT_ROUNDS_() local
17708 int SSFI = MF.getFrameInfo()->CreateStackObject(2, StackAlignment, false); in LowerFLT_ROUNDS_()