/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/InstPrinter/ |
D | AMDGPUInstPrinter.cpp | 1055 static void printSwizzleBitmask(const uint16_t AndMask, in printSwizzleBitmask() argument 1061 uint16_t Probe0 = ((0 & AndMask) | OrMask) ^ XorMask; in printSwizzleBitmask() 1062 uint16_t Probe1 = ((BITMASK_MASK & AndMask) | OrMask) ^ XorMask; in printSwizzleBitmask() 1112 uint16_t AndMask = (Imm >> BITMASK_AND_SHIFT) & BITMASK_MASK; in printSwizzle() local 1116 if (AndMask == BITMASK_MAX && in printSwizzle() 1125 } else if (AndMask == BITMASK_MAX && in printSwizzle() 1136 uint16_t GroupSize = BITMASK_MAX - AndMask + 1; in printSwizzle() 1152 printSwizzleBitmask(AndMask, OrMask, XorMask, O); in printSwizzle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 109 APInt AndMask; in foldSelectICmpAnd() local 121 AndMask = *AndRHS; in foldSelectICmpAnd() 123 Pred, V, AndMask)) { in foldSelectICmpAnd() 125 if (!AndMask.isPowerOf2()) in foldSelectICmpAnd() 143 if (TC.getBitWidth() != AndMask.getBitWidth() || (TC ^ FC) != AndMask) in foldSelectICmpAnd() 150 V = Builder.CreateAnd(V, ConstantInt::get(SelType, AndMask)); in foldSelectICmpAnd() 178 unsigned AndZeros = AndMask.logBase2(); in foldSelectICmpAnd() 182 V = Builder.CreateAnd(V, ConstantInt::get(V->getType(), AndMask)); in foldSelectICmpAnd()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelDAGToDAG.cpp | 706 uint64_t AndMask = MaskNode->getZExtValue(); in detectOrAndInsertion() local 707 if (InsertMask & AndMask) in detectOrAndInsertion() 713 if (Used != (AndMask | InsertMask)) { in detectOrAndInsertion() 716 if (Used != (AndMask | InsertMask | KnownZero.getZExtValue())) in detectOrAndInsertion()
|
D | SystemZISelLowering.cpp | 5091 auto *AndMask = dyn_cast<ConstantSDNode>(N1.getOperand(1)); in combineSHIFTROT() local 5094 if (AndMask) { in combineSHIFTROT() 5095 auto AmtVal = AndMask->getZExtValue(); in combineSHIFTROT()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelDAGToDAG.cpp | 723 uint64_t AndMask = MaskNode->getZExtValue(); in detectOrAndInsertion() local 724 if (InsertMask & AndMask) in detectOrAndInsertion() 730 if (Used != (AndMask | InsertMask)) { in detectOrAndInsertion() 733 if (Used != (AndMask | InsertMask | Known.Zero.getZExtValue())) in detectOrAndInsertion()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1818 const APInt &AndMask = cast<ConstantInt>(I->getOperand(1))->getValue(); in collectBitParts() local 1822 unsigned NumMaskedBits = AndMask.countPopulation(); in collectBitParts() 1834 if ((AndMask & Bit) == 0) in collectBitParts()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 277 uint64_t AndMask; member 632 CustomMapParams.AndMask = ClAndMask; in doInitialization() 1093 uint64_t AndMask = MS.MapParams->AndMask; in getShadowPtrOffset() local 1094 if (AndMask) in getShadowPtrOffset() 1096 IRB.CreateAnd(OffsetLong, ConstantInt::get(MS.IntptrTy, ~AndMask)); in getShadowPtrOffset()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 209 uint64_t AndMask; member 943 uint64_t AndMask = MS.MapParams->AndMask; in getShadowPtrOffset() local 944 if (AndMask) in getShadowPtrOffset() 946 IRB.CreateAnd(OffsetLong, ConstantInt::get(MS.IntptrTy, ~AndMask)); in getShadowPtrOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 451 uint64_t AndMask = CSD->getZExtValue(); in getExtendTypeForNode() local 453 switch (AndMask) { in getExtendTypeForNode() 1631 uint64_t AndMask = 0; in isSeveralBitsExtractOpFromShr() local 1632 if (!isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::AND, AndMask)) in isSeveralBitsExtractOpFromShr() 1642 unsigned BitWide = 64 - countLeadingOnes(~(AndMask >> SrlImm)); in isSeveralBitsExtractOpFromShr() 1643 if (BitWide && isMask_64(AndMask >> SrlImm)) { in isSeveralBitsExtractOpFromShr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 4243 encodeBitmaskPerm(const unsigned AndMask, in encodeBitmaskPerm() argument 4249 (AndMask << BITMASK_AND_SHIFT) | in encodeBitmaskPerm() 4376 unsigned AndMask = 0; in parseSwizzleBitmaskPerm() local 4392 AndMask |= Mask; in parseSwizzleBitmaskPerm() 4395 AndMask |= Mask; in parseSwizzleBitmaskPerm() 4401 Imm = encodeBitmaskPerm(AndMask, OrMask, XorMask); in parseSwizzleBitmaskPerm()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 401 uint64_t AndMask = CSD->getZExtValue(); in getExtendTypeForNode() local 403 switch (AndMask) { in getExtendTypeForNode() 1562 uint64_t AndMask = 0; in isSeveralBitsExtractOpFromShr() local 1563 if (!isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::AND, AndMask)) in isSeveralBitsExtractOpFromShr() 1573 unsigned BitWide = 64 - countLeadingOnes(~(AndMask >> SrlImm)); in isSeveralBitsExtractOpFromShr() 1574 if (BitWide && isMask_64(AndMask >> SrlImm)) { in isSeveralBitsExtractOpFromShr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 2573 const APInt &AndMask = cast<ConstantInt>(I->getOperand(1))->getValue(); in collectBitParts() local 2577 unsigned NumMaskedBits = AndMask.countPopulation(); in collectBitParts() 2589 if ((AndMask & Bit) == 0) in collectBitParts()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1343 const APInt &AndMask = cast<ConstantInt>(I->getOperand(1))->getValue(); in CollectBSwapParts() local 1352 APInt MaskB = AndMask & Byte; in CollectBSwapParts()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 2968 const APInt &AndMask = CAnd->getAPIntValue(); in visitANDLike() local 2970 unsigned MaskBits = AndMask.countTrailingOnes(); in visitANDLike() 2973 if (APIntOps::isMask(AndMask) && in visitANDLike() 2995 SDValue NewMask = DAG.getConstant(AndMask.trunc(Size / 2), SL, HalfVT); in visitANDLike() 14309 const APInt &AndMask = ConstAndRHS->getAPIntValue(); in SimplifySelectCC() local 14311 DAG.getConstant(AndMask.countLeadingZeros(), SDLoc(AndLHS), in SimplifySelectCC() 14318 DAG.getConstant(AndMask.getBitWidth() - 1, SDLoc(Shl), in SimplifySelectCC()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 3994 const APInt &AndMask = CAnd->getAPIntValue(); in visitANDLike() local 4001 unsigned MaskBits = AndMask.countTrailingOnes(); in visitANDLike() 4004 if (AndMask.isMask() && in visitANDLike() 4026 SDValue NewMask = DAG.getConstant(AndMask.trunc(Size / 2), SL, HalfVT); in visitANDLike() 17912 const APInt &AndMask = ConstAndRHS->getAPIntValue(); in SimplifySelectCC() local 17914 DAG.getConstant(AndMask.countLeadingZeros(), SDLoc(AndLHS), in SimplifySelectCC() 17921 DAG.getConstant(AndMask.getBitWidth() - 1, SDLoc(Shl), in SimplifySelectCC()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 7575 APInt AndMask = ConstAndRHS->getAPIntValue(); in SimplifySelectCC() local 7577 DAG.getConstant(AndMask.countLeadingZeros(), in SimplifySelectCC() 7584 DAG.getConstant(AndMask.getBitWidth()-1, in SimplifySelectCC()
|