Home
last modified time | relevance | path

Searched refs:AllOnes (Results 1 – 25 of 37) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1325 static inline bool isZeroOrAllOnes(SDValue N, bool AllOnes) { in isZeroOrAllOnes() argument
1326 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
1347 static bool isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes, SDValue &CC, in isConditionalZeroOrAllOnes() argument
1357 if (isZeroOrAllOnes(N1, AllOnes)) { in isConditionalZeroOrAllOnes()
1362 if (isZeroOrAllOnes(N2, AllOnes)) { in isConditionalZeroOrAllOnes()
1371 if (AllOnes) in isConditionalZeroOrAllOnes()
1388 Invert = !AllOnes; in isConditionalZeroOrAllOnes()
1389 if (AllOnes) in isConditionalZeroOrAllOnes()
1420 bool AllOnes) { in combineSelectAndUse() argument
1426 if (!isConditionalZeroOrAllOnes(Slct.getNode(), AllOnes, CCOp, SwapSelectOps, in combineSelectAndUse()
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1279 static inline bool isZeroOrAllOnes(SDValue N, bool AllOnes) { in isZeroOrAllOnes() argument
1280 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
1301 static bool isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes, SDValue &CC, in isConditionalZeroOrAllOnes() argument
1311 if (isZeroOrAllOnes(N1, AllOnes)) { in isConditionalZeroOrAllOnes()
1316 if (isZeroOrAllOnes(N2, AllOnes)) { in isConditionalZeroOrAllOnes()
1325 if (AllOnes) in isConditionalZeroOrAllOnes()
1342 Invert = !AllOnes; in isConditionalZeroOrAllOnes()
1343 if (AllOnes) in isConditionalZeroOrAllOnes()
1374 bool AllOnes) { in combineSelectAndUse() argument
1380 if (!isConditionalZeroOrAllOnes(Slct.getNode(), AllOnes, CCOp, SwapSelectOps, in combineSelectAndUse()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LowerTypeTests/
Dexport-allones.ll159 ; SUMMARY-NEXT: Kind: AllOnes
172 ; SUMMARY-NEXT: Kind: AllOnes
Dexport-icall.ll66 ; SUMMARY-NEXT: Kind: AllOnes
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp290 SDValue AllOnes = DAG.getConstant( in ExpandVSELECT() local
292 SDValue NotMask = DAG.getNode(ISD::XOR, DL, VT, Mask, AllOnes); in ExpandVSELECT()
DSelectionDAG.cpp1696 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() local
1698 AllOnes, KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits()
1704 AllOnes, KnownZero2, KnownOne2, Depth+1); in ComputeMaskedBits()
2054 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() local
2055 ComputeMaskedBits(Op.getOperand(0), AllOnes, KnownZero, KnownOne, in ComputeMaskedBits()
2057 ComputeMaskedBits(Op.getOperand(1), AllOnes, KnownZero2, KnownOne2, in ComputeMaskedBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp674 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitShl() local
675 Value *Mask = Builder.CreateShl(AllOnes, Op1); in visitShl()
815 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); in visitLShr() local
816 Value *Mask = Builder.CreateLShr(AllOnes, Op1); in visitLShr()
DInstCombineSimplifyDemanded.cpp626 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() local
627 if (SimplifyDemandedBits(I, 0, AllOnes, Known2, Depth + 1) || in SimplifyDemandedUseBits()
628 SimplifyDemandedBits(I, 1, AllOnes, Known2, Depth + 1)) in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp650 APInt AllOnes(129, "0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", 16); in TEST() local
653 APInt AddLL = AllOnes + Two; in TEST()
656 APInt AddLR = AllOnes + getRValue("2", RawDataR); in TEST()
670 APInt AddLK = AllOnes + 2; in TEST()
673 APInt AddKL = 2 + AllOnes; in TEST()
722 APInt AllOnes(129, "0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", 16); in TEST() local
725 APInt SubLL = HighOneLowOne - AllOnes; in TEST()
734 AllOnes; in TEST()
746 EXPECT_EQ(SubLK, AllOnes); in TEST()
755 EXPECT_EQ(SubRK, AllOnes); in TEST()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp229 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() local
231 AllOnes, KnownZero2, KnownOne2, TD, Depth+1); in ComputeMaskedBits()
237 AllOnes, KnownZero2, KnownOne2, TD, Depth+1); in ComputeMaskedBits()
526 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in ComputeMaskedBits() local
527 ComputeMaskedBits(I->getOperand(0), AllOnes, KnownZero, KnownOne, in ComputeMaskedBits()
529 ComputeMaskedBits(I->getOperand(1), AllOnes, KnownZero2, KnownOne2, in ComputeMaskedBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp757 SDValue AllOnes = DAG.getConstant( in ExpandSELECT() local
759 SDValue NotMask = DAG.getNode(ISD::XOR, DL, MaskTy, Mask, AllOnes); in ExpandSELECT()
968 SDValue AllOnes = DAG.getConstant( in ExpandVSELECT() local
970 SDValue NotMask = DAG.getNode(ISD::XOR, DL, VT, Mask, AllOnes); in ExpandVSELECT()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp731 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() local
732 if (SimplifyDemandedBits(I->getOperandUse(0), AllOnes, in SimplifyDemandedUseBits()
734 SimplifyDemandedBits(I->getOperandUse(1), AllOnes, in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp806 SDValue AllOnes = DAG.getConstant( in ExpandSELECT() local
808 SDValue NotMask = DAG.getNode(ISD::XOR, DL, MaskTy, Mask, AllOnes); in ExpandSELECT()
1017 SDValue AllOnes = DAG.getConstant( in ExpandVSELECT() local
1019 SDValue NotMask = DAG.getNode(ISD::XOR, DL, VT, Mask, AllOnes); in ExpandVSELECT()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp721 APInt AllOnes = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedUseBits() local
722 if (SimplifyDemandedBits(I->getOperandUse(0), AllOnes, KnownZero2, in SimplifyDemandedUseBits()
724 SimplifyDemandedBits(I->getOperandUse(1), AllOnes, KnownZero2, in SimplifyDemandedUseBits()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModuleSummaryIndexYAML.h25 io.enumCase(value, "AllOnes", TypeTestResolution::AllOnes);
DModuleSummaryIndex.h659 AllOnes, ///< All-ones bit vector ("Eliminating Bit Vector Checks for
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp715 if (TIL.TheKind == TypeTestResolution::AllOnes) in lowerTypeTestCall()
862 TIL.TheKind == TypeTestResolution::AllOnes) { in exportTypeId()
943 TIL.TheKind == TypeTestResolution::AllOnes) { in importTypeId()
1071 : TypeTestResolution::AllOnes; in lowerTypeTestCalls()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Assembler/
Dthinlto-summary.ll57 ; Test the AllOnes resolution, and all kinds of WholeProgramDevirtResolution
/external/llvm/test/CodeGen/X86/
Dvselect.ll127 ; Fold (vselect (build_vector AllOnes), N1, N2) -> N1
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp1881 Constant *AllOnes; in CreateNot() local
1885 AllOnes = ConstantVector::get( in CreateNot()
1888 AllOnes = Constant::getAllOnesValue(Op->getType()); in CreateNot()
1891 return new BinaryOperator(Instruction::Xor, Op, AllOnes, in CreateNot()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp4278 SDValue AllOnes = DAG.getTargetConstant(ARM_AM::createNEONModImm(0xe, 0xff), in LowerFCOPYSIGN() local
4280 AllOnes = DAG.getNode(ARMISD::VMOVIMM, dl, MVT::v8i8, AllOnes); in LowerFCOPYSIGN()
4282 DAG.getNode(ISD::BITCAST, dl, OpVT, AllOnes)); in LowerFCOPYSIGN()
8588 static inline bool isZeroOrAllOnes(SDValue N, bool AllOnes) { in isZeroOrAllOnes() argument
8589 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
8604 static bool isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes, in isConditionalZeroOrAllOnes() argument
8614 if (isZeroOrAllOnes(N1, AllOnes)) { in isConditionalZeroOrAllOnes()
8619 if (isZeroOrAllOnes(N2, AllOnes)) { in isConditionalZeroOrAllOnes()
8628 if (AllOnes) in isConditionalZeroOrAllOnes()
8637 Invert = !AllOnes; in isConditionalZeroOrAllOnes()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp4951 SDValue AllOnes = DAG.getTargetConstant(ARM_AM::createNEONModImm(0xe, 0xff), in LowerFCOPYSIGN() local
4953 AllOnes = DAG.getNode(ARMISD::VMOVIMM, dl, MVT::v8i8, AllOnes); in LowerFCOPYSIGN()
4955 DAG.getNode(ISD::BITCAST, dl, OpVT, AllOnes)); in LowerFCOPYSIGN()
9659 static inline bool isZeroOrAllOnes(SDValue N, bool AllOnes) { in isZeroOrAllOnes() argument
9660 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
9675 static bool isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes, in isConditionalZeroOrAllOnes() argument
9685 if (isZeroOrAllOnes(N1, AllOnes)) { in isConditionalZeroOrAllOnes()
9690 if (isZeroOrAllOnes(N2, AllOnes)) { in isConditionalZeroOrAllOnes()
9699 if (AllOnes) in isConditionalZeroOrAllOnes()
9708 Invert = !AllOnes; in isConditionalZeroOrAllOnes()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1098 Value *AllOnes = PoisonUndef ? getPoisonedShadow(V) : getCleanShadow(V); in getShadow() local
1099 DEBUG(dbgs() << "Undef: " << *U << " ==> " << *AllOnes << "\n"); in getShadow()
1101 return AllOnes; in getShadow()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dvselect.ll222 ; Fold (vselect (build_vector AllOnes), N1, N2) -> N1
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1267 Value *AllOnes = PoisonUndef ? getPoisonedShadow(V) : getCleanShadow(V); in getShadow() local
1268 LLVM_DEBUG(dbgs() << "Undef: " << *U << " ==> " << *AllOnes << "\n"); in getShadow()
1270 return AllOnes; in getShadow()

12