Home
last modified time | relevance | path

Searched refs:AndMask (Results 1 – 15 of 15) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.cpp1283 static void printSwizzleBitmask(const uint16_t AndMask, in printSwizzleBitmask() argument
1289 uint16_t Probe0 = ((0 & AndMask) | OrMask) ^ XorMask; in printSwizzleBitmask()
1290 uint16_t Probe1 = ((BITMASK_MASK & AndMask) | OrMask) ^ XorMask; in printSwizzleBitmask()
1340 uint16_t AndMask = (Imm >> BITMASK_AND_SHIFT) & BITMASK_MASK; in printSwizzle() local
1344 if (AndMask == BITMASK_MAX && in printSwizzle()
1353 } else if (AndMask == BITMASK_MAX && in printSwizzle()
1364 uint16_t GroupSize = BITMASK_MAX - AndMask + 1; in printSwizzle()
1380 printSwizzleBitmask(AndMask, OrMask, XorMask, O); in printSwizzle()
/freebsd-13.1/lib/libvgl/
H A Dvgl.h130 void VGLMouseSetImage(VGLBitmap *AndMask, VGLBitmap *OrMask);
H A Dmouse.c254 VGLMouseSetImage(VGLBitmap *AndMask, VGLBitmap *OrMask) in VGLMouseSetImage() argument
260 VGLMouseAndMask = AndMask; in VGLMouseSetImage()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp138 APInt AndMask; in foldSelectICmpAnd() local
150 AndMask = *AndRHS; in foldSelectICmpAnd()
152 Pred, V, AndMask)) { in foldSelectICmpAnd()
154 if (!AndMask.isPowerOf2()) in foldSelectICmpAnd()
172 if (TC.getBitWidth() != AndMask.getBitWidth() || (TC ^ FC) != AndMask) in foldSelectICmpAnd()
179 V = Builder.CreateAnd(V, ConstantInt::get(SelType, AndMask)); in foldSelectICmpAnd()
207 unsigned AndZeros = AndMask.logBase2(); in foldSelectICmpAnd()
211 V = Builder.CreateAnd(V, ConstantInt::get(V->getType(), AndMask)); in foldSelectICmpAnd()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp738 uint64_t AndMask = MaskNode->getZExtValue(); in detectOrAndInsertion() local
739 if (InsertMask & AndMask) in detectOrAndInsertion()
745 if (Used != (AndMask | InsertMask)) { in detectOrAndInsertion()
747 if (Used != (AndMask | InsertMask | Known.Zero.getZExtValue())) in detectOrAndInsertion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp1441 const APInt &AndMask = N->getConstantOperandAPInt(1); in selectShiftMask() local
1446 APInt ShMask(AndMask.getBitWidth(), ShiftWidth - 1); in selectShiftMask()
1448 if (ShMask.isSubsetOf(AndMask)) { in selectShiftMask()
1456 if (ShMask.isSubsetOf(AndMask | Known.Zero)) { in selectShiftMask()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp248 uint64_t AndMask; member
1761 uint64_t AndMask = MapParams->AndMask; in getShadowOffset() local
1762 if (AndMask) in getShadowOffset()
1764 IRB.CreateAnd(OffsetLong, ConstantInt::get(IntptrTy, ~AndMask)); in getShadowOffset()
H A DMemorySanitizer.cpp351 uint64_t AndMask; member
910 CustomMapParams.AndMask = ClAndMask; in initializeModule()
1465 uint64_t AndMask = MS.MapParams->AndMask; in getShadowPtrOffset() local
1466 if (AndMask) in getShadowPtrOffset()
1468 IRB.CreateAnd(OffsetLong, ConstantInt::get(MS.IntptrTy, ~AndMask)); in getShadowPtrOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp618 uint64_t AndMask = CSD->getZExtValue(); in getExtendTypeForNode() local
620 switch (AndMask) { in getExtendTypeForNode()
1941 uint64_t AndMask = 0; in isSeveralBitsExtractOpFromShr() local
1942 if (!isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::AND, AndMask)) in isSeveralBitsExtractOpFromShr()
1952 unsigned BitWide = 64 - countLeadingOnes(~(AndMask >> SrlImm)); in isSeveralBitsExtractOpFromShr()
1953 if (BitWide && isMask_64(AndMask >> SrlImm)) { in isSeveralBitsExtractOpFromShr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2978 const APInt &AndMask = *C; in collectBitParts() local
2982 unsigned NumMaskedBits = AndMask.countPopulation(); in collectBitParts()
2994 if (AndMask[BitIdx] == 0) in collectBitParts()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp6614 encodeBitmaskPerm(const unsigned AndMask, in encodeBitmaskPerm() argument
6620 (AndMask << BITMASK_AND_SHIFT) | in encodeBitmaskPerm()
6766 unsigned AndMask = 0; in parseSwizzleBitmaskPerm() local
6782 AndMask |= Mask; in parseSwizzleBitmaskPerm()
6785 AndMask |= Mask; in parseSwizzleBitmaskPerm()
6791 Imm = encodeBitmaskPerm(AndMask, OrMask, XorMask); in parseSwizzleBitmaskPerm()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp5953 uint64_t AndMask = *MaybeAndMask; in getExtendTypeForInst() local
5954 switch (AndMask) { in getExtendTypeForInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5176 const APInt &AndMask = CAnd->getAPIntValue(); in visitANDLike() local
5183 unsigned MaskBits = AndMask.countTrailingOnes(); in visitANDLike()
5186 if (AndMask.isMask() && in visitANDLike()
5208 SDValue NewMask = DAG.getConstant(AndMask.trunc(Size / 2), SL, HalfVT); in visitANDLike()
22610 const APInt &AndMask = ConstAndRHS->getAPIntValue(); in SimplifySelectCC() local
22611 unsigned ShCt = AndMask.getBitWidth() - 1; in SimplifySelectCC()
22614 DAG.getConstant(AndMask.countLeadingZeros(), SDLoc(AndLHS), in SimplifySelectCC()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp16569 uint32_t AndMask = static_cast<uint32_t>(AndMaskNode->getZExtValue()); in PerformShiftCombine() local
16571 if (AndMask == 255 || AndMask == 65535) in PerformShiftCombine()
16573 if (isMask_32(AndMask)) { in PerformShiftCombine()
16574 uint32_t MaskedBits = countLeadingZeros(AndMask); in PerformShiftCombine()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp3091 APInt AndMask = APInt::getSignedMaxValue(bitsize); in EmitBuiltinExpr() local
3093 Builder.CreateAnd(IntV, llvm::ConstantInt::get(IntTy, AndMask)); in EmitBuiltinExpr()