Searched refs:AllOnes (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1325 static inline bool isZeroOrAllOnes(SDValue N, bool AllOnes) { argument
1326 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N);
1332 // (select cc 0, y) [AllOnes=0]
1333 // (select cc y, 0) [AllOnes=0]
1334 // (zext cc) [AllOnes=0]
1335 // (sext cc) [AllOnes=0/1]
1336 // (select cc -1, y) [AllOnes=1]
1337 // (select cc y, -1) [AllOnes=1]
1339 // * AllOnes determines whether to check for an all zero (AllOnes fals
1347 isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes, SDValue &CC, bool &Invert, SDValue &OtherOp, SelectionDAG &DAG) argument
1418 combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, TargetLowering::DAGCombinerInfo &DCI, bool AllOnes) argument
1443 combineSelectAndUseCommutative(SDNode *N, TargetLowering::DAGCombinerInfo &DCI, bool AllOnes) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h24 io.enumCase(value, "AllOnes", TypeTestResolution::AllOnes);
H A DModuleSummaryIndex.h808 AllOnes, ///< All-ones bit vector ("Eliminating Bit Vector Checks for enumerator in enum:llvm::CalleeInfo::TypeTestResolution::Kind
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1014 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); local
1015 Value *Mask = Builder.CreateShl(AllOnes, Op1);
1168 Constant *AllOnes = ConstantInt::getAllOnesValue(Ty); local
1169 Value *Mask = Builder.CreateLShr(AllOnes, Op1);
H A DInstCombineSimplifyDemanded.cpp676 APInt AllOnes = APInt::getAllOnesValue(BitWidth); local
677 if (SimplifyDemandedBits(I, 0, AllOnes, Known2, Depth + 1) ||
678 SimplifyDemandedBits(I, 1, AllOnes, Known2, Depth + 1))
H A DInstCombineCompares.cpp5547 Constant *AllOnes = Constant::getAllOnesValue(Op0->getType()); local
5548 return new ICmpInst(ICmpInst::ICMP_SGT, Op0, AllOnes);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp1043 SDValue AllOnes = DAG.getConstant( local
1045 SDValue NotMask = DAG.getNode(ISD::XOR, DL, MaskTy, Mask, AllOnes);
1287 SDValue AllOnes = DAG.getConstant( local
1289 SDValue NotMask = DAG.getNode(ISD::XOR, DL, VT, Mask, AllOnes);
H A DDAGCombiner.cpp3857 SDValue AllOnes = DAG.getAllOnesConstant(DL, VT); local
3859 SDValue IsAllOnes = DAG.getSetCC(DL, CCVT, N1, AllOnes, ISD::SETEQ);
6349 SDValue AllOnes = DAG.getAllOnesConstant(DL, VT); local
6350 SDValue Mask = AllOnes;
6353 SDValue RHSBits = DAG.getNode(ISD::SRL, DL, VT, AllOnes, RHSShiftAmt);
6358 SDValue LHSBits = DAG.getNode(ISD::SHL, DL, VT, AllOnes, LHSShiftAmt);
H A DTargetLowering.cpp7144 SDValue AllOnes = DAG.getAllOnesConstant(dl, VT);
7153 return DAG.getSelect(dl, VT, Overflow, AllOnes, SumDiff);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp421 /// ByteArray, Inline, AllOnes: log2 of the required global alignment
425 /// ByteArray, Inline, AllOnes: one less than the size of the memory region
773 if (TIL.TheKind == TypeTestResolution::AllOnes)
927 TIL.TheKind == TypeTestResolution::AllOnes) {
1008 TIL.TheKind == TypeTestResolution::AllOnes) {
1132 : TypeTestResolution::AllOnes;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5537 SDValue AllOnes = DAG.getTargetConstant(ARM_AM::createVMOVModImm(0xe, 0xff), local
5539 AllOnes = DAG.getNode(ARMISD::VMOVIMM, dl, MVT::v8i8, AllOnes);
5541 DAG.getNode(ISD::BITCAST, dl, OpVT, AllOnes));
7785 SDValue AllOnes = local
7787 AllOnes = DAG.getNode(ARMISD::VMOVIMM, dl, MVT::v16i8, AllOnes);
7808 DAG.getNode(ISD::VSELECT, dl, MVT::v16i8, RecastV1, AllOnes, AllZeroes);
10964 static inline bool isZeroOrAllOnes(SDValue N, bool AllOnes) { argument
10965 return AllOnes
10980 isConditionalZeroOrAllOnes(SDNode *N, bool AllOnes, SDValue &CC, bool &Invert, SDValue &OtherOp, SelectionDAG &DAG) argument
11080 combineSelectAndUseCommutative(SDNode *N, bool AllOnes, TargetLowering::DAGCombinerInfo &DCI) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1590 Value *AllOnes = PoisonUndef ? getPoisonedShadow(V) : getCleanShadow(V);
1591 LLVM_DEBUG(dbgs() << "Undef: " << *U << " ==> " << *AllOnes << "\n");
1593 return AllOnes;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2409 Constant *AllOnes = Constant::getAllOnesValue(Op->getType()); local
2410 return new BinaryOperator(Instruction::Xor, Op, AllOnes,
H A DAsmWriter.cpp2782 case TypeTestResolution::AllOnes:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp11102 SDValue Zero, AllOnes;
11112 AllOnes = DAG.getConstantFP(
11118 AllOnes = DAG.getAllOnesConstant(DL, EltVT);
11133 VMaskOps[i] = AllOnes;
11156 SDValue AllOnes = DAG.getAllOnesConstant(DL, EltVT);
11161 MaskOps.push_back(Mask[i] < Size ? AllOnes : Zero);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp4006 const SCEV *AllOnes =
4008 return getMinusSCEV(AllOnes, V);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7675 TTRes.TheKind = TypeTestResolution::AllOnes;

Completed in 527 milliseconds