Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMGlobalMerge.cpp121 unsigned MaxOffset = TLI->getMaximalGlobalOffset(); in doMerge() local
136 if (MergedSize > MaxOffset) { in doMerge()
167 unsigned MaxOffset = TLI->getMaximalGlobalOffset(); in doInitialization() local
188 if (TD->getTypeAllocSize(Ty) < MaxOffset) { in doInitialization()
DThumb2SizeReduction.cpp436 unsigned MaxOffset = ((1 << ImmLimit) - 1) * Scale; in ReduceLoadStore() local
438 if ((OffsetImm & (Scale - 1)) || OffsetImm > MaxOffset) in ReduceLoadStore()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1207 int64_t MaxOffset; member in __anon445c839f0711::LSRUse
1235 : Kind(K), AccessTy(AT), MinOffset(INT64_MAX), MaxOffset(INT64_MIN), in LSRUse()
1409 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1418 if (((int64_t)((uint64_t)BaseOffset + MaxOffset) > BaseOffset) != in isAMCompletelyFolded()
1419 (MaxOffset > 0)) in isAMCompletelyFolded()
1421 MaxOffset = (uint64_t)BaseOffset + MaxOffset; in isAMCompletelyFolded()
1425 isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MaxOffset, in isAMCompletelyFolded()
1430 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1441 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
1447 int64_t MaxOffset, LSRUse::KindType Kind, in isLegalUse() argument
[all …]
DGuardWidening.cpp594 *MaxOffset = CurrentChecks.back().getOffset(); in combineRangeChecks() local
596 unsigned BitWidth = MaxOffset->getValue().getBitWidth(); in combineRangeChecks()
597 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
601 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
602 const APInt &HighOffset = MaxOffset->getValue(); in combineRangeChecks()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp127 unsigned MaxOffset; member in __anon24b73b200111::GlobalMerge
168 : FunctionPass(ID), TM(nullptr), MaxOffset(GlobalMergeMaxOffset), in GlobalMerge()
175 : FunctionPass(ID), TM(TM), MaxOffset(MaximalOffset), in GlobalMerge()
440 if (MergedSize > MaxOffset) { in doMerge()
563 if (DL.getTypeAllocSize(Ty) < MaxOffset) { in doInitialization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DGlobalMerge.cpp146 unsigned MaxOffset; member in __anona55d07780111::GlobalMerge
189 : FunctionPass(ID), MaxOffset(GlobalMergeMaxOffset) { in GlobalMerge()
195 : FunctionPass(ID), TM(TM), MaxOffset(MaximalOffset), in GlobalMerge()
468 if (MergedSize > MaxOffset) { in doMerge()
637 if (DL.getTypeAllocSize(Ty) < MaxOffset) { in doInitialization()
DMachineInstr.cpp1072 int64_t MaxOffset = std::max(OffsetA, OffsetB); in mayAlias() local
1074 return (MinOffset + LowWidth > MaxOffset); in mayAlias()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1146 int64_t MaxOffset = std::numeric_limits<int64_t>::min(); member in __anon3e6f8af70711::LSRUse
1182 if (f.Offset > MaxOffset) in pushFixup()
1183 MaxOffset = f.Offset; in pushFixup()
1655 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1664 if (((int64_t)((uint64_t)BaseOffset + MaxOffset) > BaseOffset) != in isAMCompletelyFolded()
1665 (MaxOffset > 0)) in isAMCompletelyFolded()
1667 MaxOffset = (uint64_t)BaseOffset + MaxOffset; in isAMCompletelyFolded()
1671 isAMCompletelyFolded(TTI, Kind, AccessTy, BaseGV, MaxOffset, in isAMCompletelyFolded()
1676 int64_t MinOffset, int64_t MaxOffset, in isAMCompletelyFolded() argument
1687 return isAMCompletelyFolded(TTI, MinOffset, MaxOffset, Kind, AccessTy, in isAMCompletelyFolded()
[all …]
DGuardWidening.cpp648 *MaxOffset = CurrentChecks.back().getOffset(); in combineRangeChecks() local
650 unsigned BitWidth = MaxOffset->getValue().getBitWidth(); in combineRangeChecks()
651 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
655 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
656 const APInt &HighOffset = MaxOffset->getValue(); in combineRangeChecks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DArchiveWriter.cpp471 uint64_t MaxOffset = 0; in writeArchive() local
472 uint64_t LastOffset = MaxOffset; in writeArchive()
475 LastOffset = MaxOffset; in writeArchive()
477 MaxOffset += M.Header.size() + M.Data.size() + M.Padding.size(); in writeArchive()
479 MaxOffset += M.Symbols.size() * 4; in writeArchive()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp1036 int64_t MaxOffset; member in __anon5f7a77cb0611::LSRUse
1059 MaxOffset(INT64_MIN), in LSRUse()
1227 int64_t MinOffset, int64_t MaxOffset, in isLegalUse() argument
1238 if (((int64_t)((uint64_t)AM.BaseOffs + MaxOffset) > AM.BaseOffs) != in isLegalUse()
1239 (MaxOffset > 0)) in isLegalUse()
1241 AM.BaseOffs = (uint64_t)AM.BaseOffs + MaxOffset; in isLegalUse()
1274 int64_t MinOffset, int64_t MaxOffset, in isAlwaysFoldable() argument
1301 return isLegalUse(AM, MinOffset, MaxOffset, Kind, AccessTy, TLI); in isAlwaysFoldable()
1901 int64_t NewMaxOffset = LU.MaxOffset; in reconcileNewOffset()
1911 if (!isAlwaysFoldable(LU.MaxOffset - NewOffset, 0, HasBaseReg, in reconcileNewOffset()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
Draw_ostream.cpp376 uint64_t MaxOffset = *FB.FirstByteOffset + Lines * FB.NumPerLine; in operator <<() local
378 if (MaxOffset > 0) in operator <<()
379 Power = llvm::Log2_64_Ceil(MaxOffset); in operator <<()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
Draw_ostream.cpp397 uint64_t MaxOffset = *FB.FirstByteOffset + Lines * FB.NumPerLine; in operator <<() local
399 if (MaxOffset > 0) in operator <<()
400 Power = llvm::Log2_64_Ceil(MaxOffset); in operator <<()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2161 int64_t &MaxOffset) const { in getMemOpInfo()
2166 MinOffset = MaxOffset = 0; in getMemOpInfo()
2173 MaxOffset = 255; in getMemOpInfo()
2180 MaxOffset = 255; in getMemOpInfo()
2189 MaxOffset = 255; in getMemOpInfo()
2199 MaxOffset = 255; in getMemOpInfo()
2210 MaxOffset = 255; in getMemOpInfo()
2221 MaxOffset = 255; in getMemOpInfo()
2230 MaxOffset = 63; in getMemOpInfo()
2236 MaxOffset = 4095; in getMemOpInfo()
[all …]
DAArch64InstrInfo.h129 int64_t &MinOffset, int64_t &MaxOffset) const;
/external/swiftshader/third_party/subzero/src/
DIceAssemblerARM32.cpp423 OperandARM32Mem::AddrMode Mode, IOffsetT MaxOffset, in encodeImmRegOffset() argument
430 assert(Offset <= MaxOffset); in encodeImmRegOffset()
431 (void)MaxOffset; in encodeImmRegOffset()
452 constexpr IOffsetT MaxOffset = (1 << 8) - 1; in encodeImmRegOffset() local
454 return encodeImmRegOffset(Reg, Offset, Mode, MaxOffset, NoRightShift); in encodeImmRegOffset()
458 constexpr IOffsetT MaxOffset = (1 << 8) - 1; in encodeImmRegOffset() local
460 return encodeImmRegOffset(Reg, Offset, Mode, MaxOffset, RightShift2); in encodeImmRegOffset()
463 constexpr IOffsetT MaxOffset = (1 << 12) - 1; in encodeImmRegOffset() local
465 return encodeImmRegOffset(Reg, Offset, Mode, MaxOffset, NoRightShift); in encodeImmRegOffset()
2016 constexpr IOffsetT MaxOffset = (1 << 8) - 1; in pop() local
[all …]
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc3291 if (!seek_head_.AddSeekEntry(libwebm::kMkvCues, MaxOffset())) in Finalize()
3322 const int64_t segment_size = MaxOffset(); in Finalize()
3748 if (!seek_head_.AddSeekEntry(libwebm::kMkvInfo, MaxOffset())) in WriteSegmentHeader()
3753 if (!seek_head_.AddSeekEntry(libwebm::kMkvTracks, MaxOffset())) in WriteSegmentHeader()
3759 if (!seek_head_.AddSeekEntry(libwebm::kMkvChapters, MaxOffset())) in WriteSegmentHeader()
3766 if (!seek_head_.AddSeekEntry(libwebm::kMkvTags, MaxOffset())) in WriteSegmentHeader()
3920 const int64_t offset = MaxOffset(); in MakeNewCluster()
3971 if (!seek_head_.AddSeekEntry(libwebm::kMkvCluster, MaxOffset())) in CheckHeaderInfo()
4043 int64_t Segment::MaxOffset() { in MaxOffset() function in mkvmuxer::Segment
Dmkvmuxer.h1723 int64_t MaxOffset();
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc3291 if (!seek_head_.AddSeekEntry(libwebm::kMkvCues, MaxOffset())) in Finalize()
3322 const int64_t segment_size = MaxOffset(); in Finalize()
3748 if (!seek_head_.AddSeekEntry(libwebm::kMkvInfo, MaxOffset())) in WriteSegmentHeader()
3753 if (!seek_head_.AddSeekEntry(libwebm::kMkvTracks, MaxOffset())) in WriteSegmentHeader()
3759 if (!seek_head_.AddSeekEntry(libwebm::kMkvChapters, MaxOffset())) in WriteSegmentHeader()
3766 if (!seek_head_.AddSeekEntry(libwebm::kMkvTags, MaxOffset())) in WriteSegmentHeader()
3920 const int64_t offset = MaxOffset(); in MakeNewCluster()
3971 if (!seek_head_.AddSeekEntry(libwebm::kMkvCluster, MaxOffset())) in CheckHeaderInfo()
4043 int64_t Segment::MaxOffset() { in MaxOffset() function in mkvmuxer::Segment
Dmkvmuxer.h1723 int64_t MaxOffset();
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FrameLowering.cpp307 int64_t MaxOffset = 0; in emitCalleeSavedFrameMoves() local
310 MaxOffset = std::min(MaxOffset, in emitCalleeSavedFrameMoves()
319 Offset = MaxOffset - Offset + saveAreaOffset; in emitCalleeSavedFrameMoves()
DX86ISelLowering.cpp11406 unsigned MaxOffset = TotalNumIntRegs * 8 + in EmitVAARG64WithCustomInserter() local
11489 .addImm(MaxOffset + 8 - ArgSizeA8); in EmitVAARG64WithCustomInserter()
/external/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp544 unsigned MaxOffset = ((1 << ImmLimit) - 1) * Scale; in ReduceLoadStore() local
546 if ((OffsetImm & (Scale - 1)) || OffsetImm > MaxOffset) in ReduceLoadStore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp573 unsigned MaxOffset = ((1 << ImmLimit) - 1) * Scale; in ReduceLoadStore() local
575 if ((OffsetImm & (Scale - 1)) || OffsetImm > MaxOffset) in ReduceLoadStore()
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp1858 SPIRVWord MaxOffset = 0; in transFunction() local
1859 if (BA->hasDecorate(DecorationMaxByteOffset, 0, &MaxOffset)) { in transFunction()
1861 Builder.addDereferenceableAttr(MaxOffset); in transFunction()

12