Home
last modified time | relevance | path

Searched refs:TrueVal (Results 26 – 41 of 41) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2686 SDValue TrueVal = Op.getOperand(2); in LowerSELECT_CC() local
2704 EVT ValType = TrueVal.getValueType(); in LowerSELECT_CC()
2711 SPISD::SELECT_REG, dl, TrueVal.getValueType(), TrueVal, FalseVal, in LowerSELECT_CC()
2730 return DAG.getNode(Opc, dl, TrueVal.getValueType(), TrueVal, FalseVal, in LowerSELECT_CC()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1918 auto *TrueVal = SI->getTrueValue(); in match() local
1922 if ((TrueVal != LHS || FalseVal != RHS) && in match()
1923 (TrueVal != RHS || FalseVal != LHS)) in match()
1926 LHS == TrueVal ? Cmp->getPredicate() : Cmp->getInversePredicate(); in match()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h1091 CmpInst *CmpI, Value *TrueVal, Value *FalseVal, Value *&LHS, Value *&RHS,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3581 Value *TrueVal = PN->getIncomingValueForBlock(IfTrue); in FoldTwoEntryPHINode() local
3584 Value *Sel = Builder.CreateSelect(IfCond, TrueVal, FalseVal, "", DomBI); in FoldTwoEntryPHINode()
4631 ConstantInt *TrueVal = dyn_cast<ConstantInt>(Select->getTrueValue()); in SimplifySwitchOnSelect() local
4633 if (!TrueVal || !FalseVal) in SimplifySwitchOnSelect()
4638 BasicBlock *TrueBB = SI->findCaseValue(TrueVal)->getCaseSuccessor(); in SimplifySwitchOnSelect()
4649 (uint32_t)Weights[SI->findCaseValue(TrueVal)->getSuccessorIndex()]; in SimplifySwitchOnSelect()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h967 SDValue getCMOV(const SDLoc &dl, EVT VT, SDValue FalseVal, SDValue TrueVal,
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5127 Value *TrueVal, *FalseVal, *Cond; in parseFunctionBody() local
5130 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal, TypeID, in parseFunctionBody()
5132 popValue(Record, OpNum, NextValueNo, TrueVal->getType(), TypeID, in parseFunctionBody()
5138 I = SelectInst::Create(Cond, TrueVal, FalseVal); in parseFunctionBody()
5148 Value *TrueVal, *FalseVal, *Cond; in parseFunctionBody() local
5150 if (getValueTypePair(Record, OpNum, NextValueNo, TrueVal, ValTypeID, in parseFunctionBody()
5152 popValue(Record, OpNum, NextValueNo, TrueVal->getType(), ValTypeID, in parseFunctionBody()
5169 I = SelectInst::Create(Cond, TrueVal, FalseVal); in parseFunctionBody()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp7297 const APInt &TrueVal = TrueV->getAsAPIntVal(); in lowerSELECT() local
7299 if (TrueVal - 1 == FalseVal) in lowerSELECT()
7301 if (TrueVal + 1 == FalseVal) in lowerSELECT()
12382 SDValue TrueVal = Slct.getOperand(1 + OpOffset); in combineSelectAndUse() local
12385 if (isZeroOrAllOnes(TrueVal, AllOnes)) { in combineSelectAndUse()
12390 NonConstantVal = TrueVal; in combineSelectAndUse()
12395 TrueVal = OtherOp; in combineSelectAndUse()
12399 std::swap(TrueVal, FalseVal); in combineSelectAndUse()
14533 unsigned Opc = TrueVal.getOpcode(); in tryFoldSelectIntoOp()
14553 if (FalseVal == TrueVal.getOperand(0)) in tryFoldSelectIntoOp()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVN.cpp2606 Value *TrueVal = ConstantInt::getTrue(TrueSucc->getContext()); in processInstruction() local
2608 Changed |= propagateEquality(BranchCond, TrueVal, TrueE, true); in processInstruction()
H A DSROA.cpp134 using TrueVal = Bitfield::Element<bool, 0, 1>; // Low 0'th bit. typedef in __anon27169d500111::SelectHandSpeculativity
1706 Bitfield::set<SelectHandSpeculativity::TrueVal>(Storage, true); in setAsSpeculatable()
1713 return isTrueVal ? Bitfield::get<SelectHandSpeculativity::TrueVal>(Storage) in isSpeculatable()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp6125 Register TrueVal, Register FalseVal, in matchFPSelectToMinMax() argument
6147 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in matchFPSelectToMinMax()
6155 if (TrueVal != CmpLHS || FalseVal != CmpRHS) in matchFPSelectToMinMax()
6190 Register TrueVal = MI.getOperand(2).getReg(); in matchSimplifySelectToMinMax() local
6192 return matchFPSelectToMinMax(Dst, Cond, TrueVal, FalseVal, MatchInfo); in matchSimplifySelectToMinMax()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2459 SDValue TrueVal = DAG.getNode(Opc, dl, VT, ShOpHi, ExtraShAmt); in LowerShiftRightParts() local
2465 SDValue Lo = DAG.getNode(ISD::SELECT, dl, VT, Cmp, TrueVal, FalseVal); in LowerShiftRightParts()
2519 SDValue TrueVal = DAG.getNode(ISD::SHL, dl, VT, ShOpLo, ExtraShAmt); in LowerShiftLeftParts() local
2525 SDValue Hi = DAG.getNode(ISD::SELECT, dl, VT, Cmp, TrueVal, FalseVal); in LowerShiftLeftParts()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp7465 auto *TrueVal = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(0)); in combineCCMask() local
7466 if (!TrueVal) in combineCCMask()
7473 else if (CompareRHS->getZExtValue() != TrueVal->getZExtValue()) in combineCCMask()
7596 auto *TrueVal = dyn_cast<ConstantSDNode>(Select->getOperand(0)); in combineGET_CCMASK() local
7598 if (!TrueVal || !FalseVal) in combineGET_CCMASK()
7600 if (TrueVal->getZExtValue() == 1 && FalseVal->getZExtValue() == 0) in combineGET_CCMASK()
7602 else if (TrueVal->getZExtValue() == 0 && FalseVal->getZExtValue() == 1) in combineGET_CCMASK()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp2624 case tgtok::TrueVal: in ParseSimpleValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp9578 const int64_t TrueVal = CTVal->getSExtValue(); in LowerSELECT_CC() local
9585 if (TrueVal == ~FalseVal) { in LowerSELECT_CC()
9588 TrueVal == -FalseVal) { in LowerSELECT_CC()
9608 const uint64_t TrueVal64 = TrueVal; in LowerSELECT_CC()
9614 if (TrueVal > FalseVal) { in LowerSELECT_CC()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp6712 llvm::Value *TrueVal = CGF.Builder.CreateNUWSub(LengthVal, LBVal); in getExprTypeSize() local
6714 Cmp, TrueVal, llvm::ConstantInt::get(CGF.SizeTy, 0)); in getExprTypeSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp44587 const APInt &TrueVal = TrueC->getAPIntValue(); in combineSelectOfTwoConstants() local
44591 if ((TrueVal.isAllOnes() || FalseVal.isAllOnes()) && in combineSelectOfTwoConstants()
44599 APInt Diff = TrueVal.ssub_ov(FalseVal, OV); in combineSelectOfTwoConstants()
44611 if (TrueVal.slt(FalseVal)) { in combineSelectOfTwoConstants()

12