| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/ |
| H A D | Utils.cpp | 35 void Unpack(uint64_t Val, uint32_t *LowBits, uint32_t *HighBits); 36 uint64_t Pack(uint32_t LowBits, uint32_t HighBits); 43 void Unpack(uint64_t Val, uint32_t *LowBits, uint32_t *HighBits) { in Unpack() argument 45 *LowBits = (uint32_t)(Val & 0x00000000FFFFFFFFUL); in Unpack() 49 uint64_t Pack(uint32_t LowBits, uint32_t HighBits) { in Pack() argument 50 return (((uint64_t)HighBits) << 32) | (uint64_t)LowBits; in Pack() 66 *LowBits = LowBitsLocal; in Unpack() 70 uint64_t Pack(uint32_t LowBits, uint32_t HighBits) { in Pack() argument 123 uint64_t utils::pack(uint32_t LowBits, uint32_t HighBits) { in pack() argument 124 return impl::Pack(LowBits, HighBits); in pack() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 556 APInt LowBits = RHS.getConstant() - 1; in urem() local 557 Known.Zero = LHS.Zero | ~LowBits; in urem() 558 Known.One = LHS.One & LowBits; in urem() 577 APInt LowBits = RHS.getConstant() - 1; in srem() local 578 Known.Zero = LHS.Zero & LowBits; in srem() 579 Known.One = LHS.One & LowBits; in srem() 583 if (LHS.isNonNegative() || LowBits.isSubsetOf(LHS.Zero)) in srem() 584 Known.Zero |= ~LowBits; in srem() 588 if (LHS.isNegative() && LowBits.intersects(LHS.One)) in srem() 589 Known.One |= ~LowBits; in srem()
|
| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/ |
| H A D | Utils.h | 29 uint64_t pack(uint32_t LowBits, uint32_t HighBits); 32 void unpack(uint64_t Val, uint32_t &LowBits, uint32_t &HighBits);
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVUtils.cpp | 89 uint32_t LowBits = FullImm & 0xffffffff; in addNumImm() local 91 MIB.addImm(LowBits).addImm(HighBits); in addNumImm()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 160 int LowBits = Offset < Start ? (Start - Offset) * 8 : 0; in applyMemSet() local 161 if (LowBits) in applyMemSet() 162 Cst = (Cst >> LowBits) << LowBits; in applyMemSet()
|
| H A D | AArch64ISelLowering.cpp | 11085 APInt LowBits(EltTy.getSizeInBits(), in NormalizeBuildVector() local 11087 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 781 APInt LowBits = RA - 1; in SimplifyDemandedUseBits() local 782 APInt Mask2 = LowBits | APInt::getSignMask(BitWidth); in SimplifyDemandedUseBits() 787 Known.Zero = LHSKnown.Zero & LowBits; in SimplifyDemandedUseBits() 788 Known.One = LHSKnown.One & LowBits; in SimplifyDemandedUseBits() 792 if (LHSKnown.isNonNegative() || LowBits.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits() 793 Known.Zero |= ~LowBits; in SimplifyDemandedUseBits() 797 if (LHSKnown.isNegative() && LowBits.intersects(LHSKnown.One)) in SimplifyDemandedUseBits() 798 Known.One |= ~LowBits; in SimplifyDemandedUseBits()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | FixedPointBuilder.h | 55 Value *LowBits = ConstantInt::get( in Convert() local 57 Value *Rounded = B.CreateAdd(Result, LowBits); in Convert()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | Relocation.cpp | 328 uint64_t LowBits = (Contents >> 29) & 0x3; in extractValueAArch64() local 330 Contents = LowBits | (HighBits << 2); in extractValueAArch64()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 536 unsigned LowBits = Log2_32(BitsPossiblySet)+1; in computeKnownBitsImpl() local 537 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsImpl()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 1629 unsigned LowBits = Log2_32(PossibleLZ)+1; in computeKnownBitsFromOperator() local 1630 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator() 1640 unsigned LowBits = Log2_32(PossibleTZ)+1; in computeKnownBitsFromOperator() local 1641 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator() 1649 unsigned LowBits = Log2_32(BitsPossiblySet)+1; in computeKnownBitsFromOperator() local 1650 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsFromOperator()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 8826 auto SimplifyDemandedLowBitsHelper = [&](unsigned OpNo, unsigned LowBits) { in PerformDAGCombine() argument 8828 APInt Mask = APInt::getLowBitsSet(Op.getValueSizeInBits(), LowBits); in PerformDAGCombine() 9592 unsigned LowBits = Log2_32(PossibleTZ) + 1; in computeKnownBitsForTargetNode() local 9593 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsForTargetNode() 9599 unsigned LowBits = Log2_32(PossibleLZ) + 1; in computeKnownBitsForTargetNode() local 9600 Known.Zero.setBitsFrom(LowBits); in computeKnownBitsForTargetNode()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 3375 unsigned LowBits = Log2_32(PossibleTZ) + 1; in computeKnownBits() local 3376 Known.Zero.setBitsFrom(LowBits); in computeKnownBits() 3384 unsigned LowBits = Log2_32(PossibleLZ) + 1; in computeKnownBits() local 3385 Known.Zero.setBitsFrom(LowBits); in computeKnownBits()
|
| H A D | DAGCombiner.cpp | 9252 unsigned LowBits = OpSizeInBits - (unsigned)N1C->getZExtValue(); in visitSRA() local 9253 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), LowBits); in visitSRA()
|