Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZConstantPoolValue.cpp30 unsigned AlignMask = Alignment - 1; in getExistingMachineCPValue() local
34 (Constants[I].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValue()
/external/llvm/lib/Target/SystemZ/
DSystemZConstantPoolValue.cpp31 unsigned AlignMask = Alignment - 1; in getExistingMachineCPValue() local
35 (Constants[I].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValue()
DSystemZLongBranch.cpp190 uint64_t AlignMask = (uint64_t(1) << Block.Alignment) - 1; in skipNonTerminators() local
191 Position.Address = (Position.Address + AlignMask) & ~AlignMask; in skipNonTerminators()
/external/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp220 unsigned AlignMask = StackAlign - 1; in calculateFrameObjectOffsets() local
221 Offset = (Offset + AlignMask) & ~uint64_t(AlignMask); in calculateFrameObjectOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp240 unsigned AlignMask = StackAlign - 1; in calculateFrameObjectOffsets() local
241 Offset = (Offset + AlignMask) & ~uint64_t(AlignMask); in calculateFrameObjectOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFrameInfo.cpp183 unsigned AlignMask = StackAlign - 1; in estimateStackSize() local
184 Offset = (Offset + AlignMask) & ~uint64_t(AlignMask); in estimateStackSize()
/external/llvm/lib/Target/ARM/
DARMConstantPoolValue.h72 unsigned AlignMask = Alignment - 1; in getExistingMachineCPValueImpl() local
76 (Constants[i].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValueImpl()
DARMFrameLowering.cpp242 const unsigned AlignMask = Alignment - 1; in emitAligningInstructions() local
258 .addImm(~AlignMask)); in emitAligningInstructions()
259 } else if (AlignMask <= 255) { in emitAligningInstructions()
263 .addImm(AlignMask))); in emitAligningInstructions()
284 .addImm(~AlignMask)); in emitAligningInstructions()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonOptAddrMode.cpp325 unsigned AlignMask = 0; in isValidOffset() local
328 AlignMask = 0x7; in isValidOffset()
331 AlignMask = 0x3; in isValidOffset()
334 AlignMask = 0x1; in isValidOffset()
337 AlignMask = 0x0; in isValidOffset()
343 if ((AlignMask & Offset) != 0) in isValidOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonOptAddrMode.cpp325 unsigned AlignMask = 0; in isValidOffset() local
328 AlignMask = 0x7; in isValidOffset()
331 AlignMask = 0x3; in isValidOffset()
334 AlignMask = 0x1; in isValidOffset()
337 AlignMask = 0x0; in isValidOffset()
343 if ((AlignMask & Offset) != 0) in isValidOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMConstantPoolValue.h81 unsigned AlignMask = Alignment - 1; in getExistingMachineCPValueImpl() local
85 (Constants[i].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValueImpl()
DARMFrameLowering.cpp289 const unsigned AlignMask = Alignment - 1; in emitAligningInstructions() local
305 .addImm(~AlignMask) in emitAligningInstructions()
307 } else if (AlignMask <= 255) { in emitAligningInstructions()
310 .addImm(AlignMask) in emitAligningInstructions()
335 .addImm(~AlignMask) in emitAligningInstructions()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp716 unsigned AlignMask = StackAlign - 1; in estimateStackSize() local
717 Offset = (Offset + AlignMask) & ~uint64_t(AlignMask); in estimateStackSize()
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp434 unsigned AlignMask = std::max(MaxAlign, TargetAlign) - 1; in determineFrameLayout() local
471 maxCallFrameSize = (maxCallFrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
481 FrameSize = (FrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
DPPCISelLowering.cpp2855 unsigned AlignMask = TargetAlign - 1; in EnsureStackAlignment() local
2856 NumBytes = (NumBytes + AlignMask) & ~AlignMask; in EnsureStackAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp484 unsigned AlignMask = std::max(MaxAlign, TargetAlign) - 1; in determineFrameLayout() local
516 maxCallFrameSize = (maxCallFrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
526 FrameSize = (FrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
DPPCISelLowering.cpp3447 unsigned AlignMask = TargetAlign - 1; in EnsureStackAlignment() local
3448 NumBytes = (NumBytes + AlignMask) & ~AlignMask; in EnsureStackAlignment()
/external/llvm-project/llvm/lib/Target/ARM/
DARMFrameLowering.cpp268 const unsigned AlignMask = Alignment.value() - 1U; in emitAligningInstructions() local
284 .addImm(~AlignMask) in emitAligningInstructions()
286 } else if (AlignMask <= 255) { in emitAligningInstructions()
289 .addImm(AlignMask) in emitAligningInstructions()
314 .addImm(~AlignMask) in emitAligningInstructions()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1397 uint64_t AlignMask = ~(Align - 1); in constructMemberDIE() local
1399 uint64_t StartBitOffset = Offset - (Offset & AlignMask); in constructMemberDIE()
1404 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in constructMemberDIE()
DAsmPrinter.cpp1359 unsigned AlignMask = CPE.getAlignment() - 1; in EmitConstantPool() local
1360 unsigned NewOffset = (Offset + AlignMask) & ~AlignMask; in EmitConstantPool()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1508 uint32_t AlignMask = ~(AlignInBits - 1); in constructMemberDIE() local
1510 uint64_t StartBitOffset = Offset - (Offset & AlignMask); in constructMemberDIE()
1515 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in constructMemberDIE()
DAsmPrinter.cpp1812 unsigned AlignMask = CPE.getAlignment() - 1; in EmitConstantPool() local
1813 unsigned NewOffset = (Offset + AlignMask) & ~AlignMask; in EmitConstantPool()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1563 uint32_t AlignMask = ~(AlignInBits - 1); in constructMemberDIE() local
1565 uint64_t StartBitOffset = Offset - (Offset & AlignMask); in constructMemberDIE()
1570 uint64_t HiMark = (Offset + FieldSize) & AlignMask; in constructMemberDIE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp4273 APInt AlignMask(IntPtrTy.getSizeInBits(), Align, true); in lowerDynStackAlloc() local
4274 AlignMask.negate(); in lowerDynStackAlloc()
4275 auto AlignCst = MIRBuilder.buildConstant(IntPtrTy, AlignMask); in lowerDynStackAlloc()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp5769 APInt AlignMask(IntPtrTy.getSizeInBits(), Alignment.value(), true); in lowerDynStackAlloc() local
5770 AlignMask.negate(); in lowerDynStackAlloc()
5771 auto AlignCst = MIRBuilder.buildConstant(IntPtrTy, AlignMask); in lowerDynStackAlloc()

12