Home
last modified time | relevance | path

Searched refs:LogAlign (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBasicBlockInfo.h29 inline unsigned UnknownPadding(unsigned LogAlign, unsigned KnownBits) { in UnknownPadding() argument
30 if (KnownBits < LogAlign) in UnknownPadding()
31 return (1u << LogAlign) - (1u << KnownBits); in UnknownPadding()
87 unsigned postOffset(unsigned LogAlign = 0) const {
89 unsigned LA = std::max(unsigned(PostAlign), LogAlign);
101 unsigned postKnownBits(unsigned LogAlign = 0) const {
102 return std::max(std::max(unsigned(PostAlign), LogAlign),
DARMConstantIslandPass.cpp521 unsigned LogAlign = Log2_32(Align); in doInitialConstPlacement() local
522 MachineBasicBlock::iterator InsAt = InsPoint[LogAlign]; in doInitialConstPlacement()
530 for (unsigned a = LogAlign + 1; a <= MaxAlign; ++a) in doInitialConstPlacement()
1112 unsigned LogAlign = MF->getBlockNumbered(i)->getAlignment(); in adjustBBOffsetsAfter() local
1113 unsigned Offset = BBInfo[i - 1].postOffset(LogAlign); in adjustBBOffsetsAfter()
1114 unsigned KnownBits = BBInfo[i - 1].postKnownBits(LogAlign); in adjustBBOffsetsAfter()
1352 unsigned LogAlign = MF->getAlignment(); in createNewWater() local
1353 assert(LogAlign >= CPELogAlign && "Over-aligned constant pool entry"); in createNewWater()
1355 unsigned UPad = UnknownPadding(LogAlign, KnownBits); in createNewWater()
1366 << " la=" << LogAlign << " kb=" << KnownBits in createNewWater()
[all …]
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp67 static inline unsigned UnknownPadding(unsigned LogAlign, unsigned KnownBits) { in UnknownPadding() argument
68 if (KnownBits < LogAlign) in UnknownPadding()
69 return (1u << LogAlign) - (1u << KnownBits); in UnknownPadding()
139 unsigned postOffset(unsigned LogAlign = 0) const { in postOffset()
141 unsigned LA = std::max(unsigned(PostAlign), LogAlign); in postOffset()
153 unsigned postKnownBits(unsigned LogAlign = 0) const { in postKnownBits()
154 return std::max(std::max(unsigned(PostAlign), LogAlign), in postKnownBits()
577 unsigned LogAlign = Log2_32(Align); in doInitialConstPlacement() local
578 MachineBasicBlock::iterator InsAt = InsPoint[LogAlign]; in doInitialConstPlacement()
586 for (unsigned a = LogAlign + 1; a <= MaxAlign; ++a) in doInitialConstPlacement()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64BranchRelaxation.cpp77 unsigned postOffset(unsigned LogAlign = 0) const { in postOffset()
79 unsigned Align = 1 << LogAlign; in postOffset()
211 unsigned LogAlign = MBB.getAlignment(); in adjustBlockOffsets() local
212 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(LogAlign); in adjustBlockOffsets()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp228 unsigned postOffset(unsigned LogAlign = 0) const { in postOffset()
569 unsigned LogAlign = Log2_32(Align); in doInitialPlacement() local
570 MachineBasicBlock::iterator InsAt = InsPoint[LogAlign]; in doInitialPlacement()
580 for (unsigned a = LogAlign + 1; a <= MaxAlign; ++a) in doInitialPlacement()
1266 unsigned LogAlign = MF->getAlignment(); in createNewWater() local
1267 assert(LogAlign >= CPELogAlign && "Over-aligned constant pool entry"); in createNewWater()
1278 << " la=" << LogAlign << '\n'); in createNewWater()
1303 BaseInsertOffset -= 1u << LogAlign; in createNewWater()
1304 EndInsertOffset -= 1u << LogAlign; in createNewWater()
/external/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp222 unsigned postOffset(unsigned LogAlign = 0) const { in postOffset()
565 unsigned LogAlign = Log2_32(Align); in doInitialPlacement() local
566 MachineBasicBlock::iterator InsAt = InsPoint[LogAlign]; in doInitialPlacement()
576 for (unsigned a = LogAlign + 1; a <= MaxAlign; ++a) in doInitialPlacement()
1271 unsigned LogAlign = MF->getAlignment(); in createNewWater() local
1272 assert(LogAlign >= CPELogAlign && "Over-aligned constant pool entry"); in createNewWater()
1283 << " la=" << LogAlign << '\n'); in createNewWater()
1309 BaseInsertOffset -= 1u << LogAlign; in createNewWater()
1310 EndInsertOffset -= 1u << LogAlign; in createNewWater()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.h63 bool SelectAnyImmediate(SDValue &N, SDValue &R, uint32_t LogAlign);
65 uint32_t LogAlign);
DHexagonISelDAGToDAG.cpp1324 uint32_t LogAlign) { in SelectAnyImmediate() argument
1325 auto IsAligned = [LogAlign] (uint64_t V) -> bool { in SelectAnyImmediate()
1326 return alignTo(V, (uint64_t)1 << LogAlign) == V; in SelectAnyImmediate()
1342 if (LogAlign > 3) in SelectAnyImmediate()
1348 if (LogAlign > 0) in SelectAnyImmediate()
1354 if (LogAlign > 2 || !IsAligned(cast<BlockAddressSDNode>(N)->getOffset())) in SelectAnyImmediate()
1360 if (SelectGlobalAddress(N, R, false, LogAlign) || in SelectAnyImmediate()
1361 SelectGlobalAddress(N, R, true, LogAlign)) in SelectAnyImmediate()
1368 bool UseGP, uint32_t LogAlign) { in SelectGlobalAddress() argument
1369 auto IsAligned = [LogAlign] (uint64_t V) -> bool { in SelectGlobalAddress()
[all …]