| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionPatternMatch.h | 118 bind_cst_ty(const APInt *&Op0) : CR(Op0) {} in bind_cst_ty() 136 Op0_t Op0; member 138 SCEVUnaryExpr_match(Op0_t Op0) : Op0(Op0) {} in SCEVUnaryExpr_match() 142 return E && E->getNumOperands() == 1 && Op0.match(E->getOperand(0)); in match() 147 inline SCEVUnaryExpr_match<SCEVTy, Op0_t> m_scev_Unary(const Op0_t &Op0) { in m_scev_Unary() argument 148 return SCEVUnaryExpr_match<SCEVTy, Op0_t>(Op0); in m_scev_Unary() 153 m_scev_SExt(const Op0_t &Op0) { in m_scev_SExt() argument 154 return m_scev_Unary<SCEVSignExtendExpr>(Op0); in m_scev_SExt() 159 m_scev_ZExt(const Op0_t &Op0) { in m_scev_ZExt() argument 160 return m_scev_Unary<SCEVZeroExtendExpr>(Op0); in m_scev_ZExt() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 258 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS); in simplifyAssociativeBinOp() local 262 if (Op0 && Op0->getOpcode() == Opcode) { in simplifyAssociativeBinOp() 263 Value *A = Op0->getOperand(0); in simplifyAssociativeBinOp() 264 Value *B = Op0->getOperand(1); in simplifyAssociativeBinOp() 306 if (Op0 && Op0->getOpcode() == Opcode) { in simplifyAssociativeBinOp() 307 Value *A = Op0->getOperand(0); in simplifyAssociativeBinOp() 308 Value *B = Op0->getOperand(1); in simplifyAssociativeBinOp() 565 Value *&Op0, Value *&Op1, in foldOrCommuteConstant() argument 567 if (auto *CLHS = dyn_cast<Constant>(Op0)) { in foldOrCommuteConstant() 585 std::swap(Op0, Op1); in foldOrCommuteConstant() [all …]
|
| H A D | OverflowInstAnalysis.cpp | 21 bool llvm::isCheckForZeroAndMulWithOverflow(Value *Op0, Value *Op1, bool IsAnd, in isCheckForZeroAndMulWithOverflow() argument 28 if (!match(Op0, m_ICmp(Pred, m_Value(X), m_Zero()))) in isCheckForZeroAndMulWithOverflow() 67 bool llvm::isCheckForZeroAndMulWithOverflow(Value *Op0, Value *Op1, in isCheckForZeroAndMulWithOverflow() argument 70 return isCheckForZeroAndMulWithOverflow(Op0, Op1, IsAnd, Y); in isCheckForZeroAndMulWithOverflow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanPatternMatch.h | 327 m_VPInstruction(const Op0_t &Op0) { in m_VPInstruction() argument 328 return UnaryVPInstruction_match<Op0_t, Opcode>(Op0); in m_VPInstruction() 333 m_VPInstruction(const Op0_t &Op0, const Op1_t &Op1) { in m_VPInstruction() argument 334 return BinaryVPInstruction_match<Op0_t, Op1_t, Opcode>(Op0, Op1); in m_VPInstruction() 339 m_VPInstruction(const Op0_t &Op0, const Op1_t &Op1, const Op2_t &Op2) { in m_VPInstruction() argument 341 {Op0, Op1, Op2}); in m_VPInstruction() 358 m_VPInstruction(const Op0_t &Op0, const Op1_t &Op1, const Op2_t &Op2, in m_VPInstruction() argument 361 {Op0, Op1, Op2, Op3}); in m_VPInstruction() 365 m_Freeze(const Op0_t &Op0) { in m_Freeze() argument 366 return m_VPInstruction<Instruction::Freeze>(Op0); in m_Freeze() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 190 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitMul() local 192 simplifyMulInst(Op0, Op1, I.hasNoSignedWrap(), I.hasNoUnsignedWrap(), in visitMul() 215 return HasNSW ? BinaryOperator::CreateNSWNeg(Op0) in visitMul() 216 : BinaryOperator::CreateNeg(Op0); in visitMul() 267 Value *BinOp = Op0; in visitMul() 268 BinaryOperator *OpBO = cast<BinaryOperator>(Op0); in visitMul() 285 if (Op0->hasOneUse() && match(Op1, m_NegatedPower2())) { in visitMul() 289 Negator::Negate(/*IsNegation*/ true, HasNSW, Op0, *this)) { in visitMul() 305 if (match(Op0, m_ZExtOrSExt(m_Value(X))) && in visitMul() 330 if (match(Op0, m_OneUse(m_AddLike(m_Value(X), m_ImmConstant(C1))))) { in visitMul() [all …]
|
| H A D | InstCombineShifts.cpp | 409 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in commonShiftTransforms() local 410 assert(Op0->getType() == Op1->getType()); in commonShiftTransforms() 417 return BinaryOperator::Create(I.getOpcode(), Op0, NewExt); in commonShiftTransforms() 425 if (isa<Constant>(Op0)) in commonShiftTransforms() 432 if (Instruction *Res = FoldShiftByConstant(Op0, CUI, I)) in commonShiftTransforms() 443 if (match(Op0, m_Constant(C)) && in commonShiftTransforms() 464 if (match(Op0, m_APInt(AC)) && match(Op1, m_Add(m_Value(A), m_APInt(AddC))) && in commonShiftTransforms() 518 match(Op0, m_OneUse(m_Instruction(CmpIntr))) && in commonShiftTransforms() 783 Instruction *InstCombinerImpl::FoldShiftByConstant(Value *Op0, Constant *C1, in FoldShiftByConstant() argument 790 if (match(Op0, m_BinOp(I.getOpcode(), m_ImmConstant(C2), m_Value(X)))) { in FoldShiftByConstant() [all …]
|
| H A D | InstCombineAddSub.cpp | 811 Value *Op0 = Add.getOperand(0), *Op1 = Add.getOperand(1); in foldNoWrapAdd() local 822 match(Op0, m_ZExt(m_NUWAddLike(m_Value(X), m_APInt(C2)))) && in foldNoWrapAdd() 829 if (Op0->hasOneUse()) in foldNoWrapAdd() 838 if (match(Op0, m_OneUse(m_SExtLike( in foldNoWrapAdd() 846 if (match(Op0, in foldNoWrapAdd() 857 Value *Op0 = Add.getOperand(0), *Op1 = Add.getOperand(1); in foldAddWithConstant() local 870 if (match(Op0, m_Sub(m_Constant(Op00C), m_Value(X)))) in foldAddWithConstant() 876 if (match(Op0, m_OneUse(m_Sub(m_Value(X), m_Value(Y)))) && in foldAddWithConstant() 881 if (match(Op0, m_ZExt(m_Value(X))) && in foldAddWithConstant() 885 if (match(Op0, m_SExt(m_Value(X))) && in foldAddWithConstant() [all …]
|
| H A D | InstCombineAndOrXor.cpp | 1572 Value *Op0, Value *Op1) { in foldLogicOfIsFPClass() argument 1584 match(Op0, m_OneUse(m_Intrinsic<Intrinsic::is_fpclass>( in foldLogicOfIsFPClass() 1589 if ((((IsLHSClass || matchIsFPClassLikeFCmp(Op0, ClassVal0, ClassMask0)) && in foldLogicOfIsFPClass() 1608 auto *II = cast<IntrinsicInst>(Op0); in foldLogicOfIsFPClass() 1663 Value *Op0 = BO.getOperand(0), *Op1 = BO.getOperand(1), *X; in reassociateFCmps() local 1665 std::swap(Op0, Op1); in reassociateFCmps() 1671 if (!match(Op0, m_SpecificFCmp(NanPred, m_Value(X), m_AnyZeroFP())) || in reassociateFCmps() 1689 Builder.CreateFCmpFMF(NanPred, X, Y, FMFSource::intersect(Op0, BO10)); in reassociateFCmps() 1706 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in matchDeMorgansLaws() local 1708 if (match(Op0, m_OneUse(m_Not(m_Value(A)))) && in matchDeMorgansLaws() [all …]
|
| H A D | InstCombineCompares.cpp | 1333 Value *Op0 = Cmp.getOperand(0), *Op1 = Cmp.getOperand(1); in foldICmpWithConstant() local 1337 match(Op0, m_Add(m_Add(m_Value(A), m_Value(B)), m_ConstantInt(CI2)))) in foldICmpWithConstant() 1346 if (auto *Phi = dyn_cast<PHINode>(Op0)) in foldICmpWithConstant() 3050 static Value *createLogicFromTable(const std::bitset<4> &Table, Value *Op0, in createLogicFromTable() argument 3055 if (Op0->getType()->isVectorTy()) in createLogicFromTable() 3057 cast<VectorType>(Op0->getType())->getElementCount(), Res); in createLogicFromTable() 3065 return HasOneUse ? Builder.CreateNot(Builder.CreateOr(Op0, Op1)) : nullptr; in createLogicFromTable() 3067 return HasOneUse ? Builder.CreateAnd(Builder.CreateNot(Op0), Op1) : nullptr; in createLogicFromTable() 3069 return Builder.CreateNot(Op0); in createLogicFromTable() 3071 return HasOneUse ? Builder.CreateAnd(Op0, Builder.CreateNot(Op1)) : nullptr; in createLogicFromTable() [all …]
|
| H A D | InstCombineCalls.cpp | 484 Value *Op0 = II.getArgOperand(0); in foldCttzCtlz() local 489 if (match(Op0, m_BitReverse(m_Value(X)))) { in foldCttzCtlz() 499 return BinaryOperator::CreateNot(Op0); in foldCttzCtlz() 517 if (match(Op0, m_Neg(m_Value(X)))) in foldCttzCtlz() 521 if (match(Op0, m_c_And(m_Neg(m_Value(X)), m_Deferred(X)))) in foldCttzCtlz() 525 if (match(Op0, m_OneUse(m_SExt(m_Value(X))))) { in foldCttzCtlz() 534 if (match(Op0, m_OneUse(m_ZExt(m_Value(X)))) && match(Op1, m_One())) { in foldCttzCtlz() 544 SelectPatternFlavor SPF = matchSelectPattern(Op0, X, Y).Flavor; in foldCttzCtlz() 548 if (match(Op0, m_Intrinsic<Intrinsic::abs>(m_Value(X)))) in foldCttzCtlz() 552 if (match(Op0, m_Shl(m_ImmConstant(C), m_Value(X))) && in foldCttzCtlz() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | PPC.cpp | 175 Value *Op0 = llvm::ConstantInt::get(Int32Ty, PPC_FAWORD_CPUID); in EmitPPCBuiltinExpr() local 177 Value *TheCall = Builder.CreateCall(F, {Op0}, "cpu_is"); in EmitPPCBuiltinExpr() 211 Value *Op0 = llvm::ConstantInt::get(Int32Ty, FeatureWord); in EmitPPCBuiltinExpr() local 213 Value *TheCall = Builder.CreateCall(F, {Op0}, "cpu_supports"); in EmitPPCBuiltinExpr() 363 Value *Op0 = EmitScalarExpr(E->getArg(0)); in EmitPPCBuiltinExpr() local 372 Builder.CreateLoad(Address(Op0, ResTy, CharUnits::fromQuantity(1))); in EmitPPCBuiltinExpr() 388 Int8Ty, Op0, ConstantInt::get(Op1->getType(), NumBytes - 1)); in EmitPPCBuiltinExpr() 389 Value *LoLd = Builder.CreateCall(Lvx, Op0, "ld.lo"); in EmitPPCBuiltinExpr() 391 Value *Mask1 = Builder.CreateCall(Lvs, Op0, "mask1"); in EmitPPCBuiltinExpr() 393 Op0 = IsLE ? HiLd : LoLd; in EmitPPCBuiltinExpr() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGHLSLBuiltins.cpp | 57 Value *Op0 = CGF->EmitScalarExpr(E->getArg(0)); in handleHlslClip() local 66 auto *FCompInst = CGF->Builder.CreateFCmpOLT(Op0, FZeroConst); in handleHlslClip() 71 CMP = CGF->Builder.CreateFCmpOLT(Op0, FZeroConst); in handleHlslClip() 96 Value *Op0 = CGF->EmitScalarExpr(E->getArg(0)); in handleHlslSplitdouble() local 120 RetTy, Intrinsic::dx_splitdouble, {Op0}, nullptr, "hlsl.splitdouble"); in handleHlslSplitdouble() 127 if (!Op0->getType()->isVectorTy()) { in handleHlslSplitdouble() 129 Value *Bitcast = CGF->Builder.CreateBitCast(Op0, DestTy); in handleHlslSplitdouble() 141 Value *Uint32Vec = CGF->Builder.CreateBitCast(Op0, Uint32VecTy); in handleHlslSplitdouble() 368 Value *Op0 = EmitScalarExpr(E->getArg(0)); in EmitHLSLBuiltinExpr() local 371 CGM.getHLSLRuntime().getAllIntrinsic(), ArrayRef<Value *>{Op0}, nullptr, in EmitHLSLBuiltinExpr() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstraintElimination.cpp | 78 Value *Op0 = nullptr; member 82 ConditionTy(CmpPredicate Pred, Value *Op0, Value *Op1) in ConditionTy() 83 : Pred(Pred), Op0(Op0), Op1(Op1) {} in ConditionTy() 123 FactOrCheck(DomTreeNode *DTN, CmpPredicate Pred, Value *Op0, Value *Op1, in FactOrCheck() 125 : Cond(Pred, Op0, Op1), DoesHold(Precond), NumIn(DTN->getDFSNumIn()), 129 Value *Op0, Value *Op1, in getConditionFact() 131 return FactOrCheck(DTN, Pred, Op0, Op1, Precond); 301 ConstraintTy getConstraint(CmpInst::Predicate Pred, Value *Op0, Value *Op1, 312 ConstraintTy getConstraintForSolving(CmpInst::Predicate Pred, Value *Op0, 529 Value *Op0; in decompose() local [all …]
|
| H A D | Scalarizer.cpp | 135 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 137 return Builder.CreateFCmp(FCI.getPredicate(), Op0, Op1, Name); in operator ()() 148 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 150 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name); in operator ()() 173 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 175 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name); in operator ()() 676 Value *Op0 = VOp0[Frag]; in splitBinary() local 678 Res[Frag] = Split(Builder, Op0, Op1, I.getName() + ".i" + Twine(Frag)); in splitBinary() 827 Value *Op0 = VOp0[I]; in visitSelectInst() local 830 Res[I] = Builder.CreateSelect(Op0, Op1, Op2, in visitSelectInst() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTDC.cpp | 123 Value *Op0 = I.getOperand(0); in convertFCmp() local 130 auto &Sem = Op0->getType()->getFltSemantics(); in convertFCmp() 216 if (CallInst *CI = dyn_cast<CallInst>(Op0)) { in convertFCmp() 222 Op0 = CI->getArgOperand(0); in convertFCmp() 229 converted(&I, Op0, Mask, Worthy); in convertFCmp() 233 Value *Op0 = I.getOperand(0); in convertICmp() local 239 if (auto *Cast = dyn_cast<BitCastInst>(Op0)) { in convertICmp() 259 } else if (auto *CI = dyn_cast<CallInst>(Op0)) { in convertICmp() 288 Value *Op0, *Op1; in convertLogicOp() local 291 std::tie(Op0, Mask0, Worthy0) = ConvertedInsts[cast<Instruction>(I.getOperand(0))]; in convertLogicOp() [all …]
|
| H A D | SystemZISelLowering.cpp | 48 : Op0(Op0In), Op1(Op1In), Chain(ChainIn), in Comparison() 52 SDValue Op0, Op1; member 2841 if (!C.Op0.hasOneUse() || in adjustSubwordCmp() 2842 C.Op0.getOpcode() != ISD::LOAD || in adjustSubwordCmp() 2847 auto *Load = cast<LoadSDNode>(C.Op0); in adjustSubwordCmp() 2895 if (C.Op0.getValueType() != MVT::i32 || in adjustSubwordCmp() 2897 C.Op0 = DAG.getExtLoad(ExtType, SDLoc(Load), MVT::i32, Load->getChain(), in adjustSubwordCmp() 2902 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 1), C.Op0.getValue(1)); in adjustSubwordCmp() 2937 if (C.Op0.getValueType() == MVT::i128) in shouldSwapCmpOperands() 2939 if (C.Op0.getValueType() == MVT::f128) in shouldSwapCmpOperands() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/ |
| H A D | AArch64BaseInfo.cpp | 157 uint32_t Op0 = 0, Op1 = 0, CRn = 0, CRm = 0, Op2 = 0; in parseGenericRegister() local 159 Ops[1].getAsInteger(10, Op0); in parseGenericRegister() 164 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2; in parseGenericRegister() 171 uint32_t Op0 = (Bits >> 14) & 0x3; in genericRegisterString() local 177 return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" + in genericRegisterString()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | FastISel.h | 355 virtual Register fastEmit_r(MVT VT, MVT RetVT, unsigned Opcode, Register Op0); 359 virtual Register fastEmit_rr(MVT VT, MVT RetVT, unsigned Opcode, Register Op0, 365 virtual Register fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, Register Op0, 373 Register fastEmit_ri_(MVT VT, unsigned Opcode, Register Op0, uint64_t Imm, 394 const TargetRegisterClass *RC, Register Op0); 399 const TargetRegisterClass *RC, Register Op0, 405 const TargetRegisterClass *RC, Register Op0, 411 const TargetRegisterClass *RC, Register Op0, 417 const TargetRegisterClass *RC, Register Op0, 429 const TargetRegisterClass *RC, Register Op0, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 482 Register Op0 = getRegForValue(I->getOperand(0)); in selectBinaryOp() local 483 if (!Op0) // Unhandled operand. Halt "fast" selection and bail. in selectBinaryOp() 504 Register ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, Imm, in selectBinaryOp() 520 ISDOpcode, Op0, Op1); in selectBinaryOp() 1482 Register Op0 = getRegForValue(I->getOperand(0)); in selectBitCast() local 1483 if (!Op0) // Unhandled operand. Halt "fast" selection and bail. in selectBitCast() 1488 updateValueMap(I, Op0); in selectBitCast() 1493 Register ResultReg = fastEmit_r(SrcVT, DstVT, ISD::BITCAST, Op0); in selectBitCast() 1721 const Value *Op0 = EVI->getOperand(0); in selectExtractValue() local 1722 Type *AggTy = Op0->getType(); in selectExtractValue() [all …]
|
| H A D | TargetLowering.cpp | 838 SDValue Op0 = Op.getOperand(0); in SimplifyMultipleUseDemandedBits() local 841 DAG.ComputeNumSignBits(Op0, DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 844 return Op0; in SimplifyMultipleUseDemandedBits() 853 SDValue Op0 = Op.getOperand(0); in SimplifyMultipleUseDemandedBits() local 859 DAG.ComputeNumSignBits(Op0, DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() 861 return Op0; in SimplifyMultipleUseDemandedBits() 867 SDValue Op0 = Op.getOperand(0); in SimplifyMultipleUseDemandedBits() local 874 Op0.getScalarValueSizeInBits() == BitWidth && in SimplifyMultipleUseDemandedBits() 875 getBooleanContents(Op0.getValueType()) == in SimplifyMultipleUseDemandedBits() 883 return Op0; in SimplifyMultipleUseDemandedBits() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.h | 245 void validateUnaryOp(const LLT Res, const LLT Op0); 246 void validateBinaryOp(const LLT Res, const LLT Op0, const LLT Op1); 247 void validateShiftOp(const LLT Res, const LLT Op0, const LLT Op1); 517 MachineInstrBuilder buildPtrAdd(const DstOp &Res, const SrcOp &Op0, 538 Register Op0, 543 MachineInstrBuilder buildPtrMask(const DstOp &Res, const SrcOp &Op0, in buildPtrMask() argument 545 return buildInstr(TargetOpcode::G_PTRMASK, {Res}, {Op0, Op1}); in buildPtrMask() 561 MachineInstrBuilder buildMaskLowPtrBits(const DstOp &Res, const SrcOp &Op0, 576 const SrcOp &Op0); 590 const SrcOp &Op0); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAdjustOpt.cpp | 106 Value *Op0 = Icmp->getOperand(0); in adjustICmpToBuiltin() local 107 if (!isa<TruncInst>(Op0)) in adjustICmpToBuiltin() 129 M, Intrinsic::bpf_compare, {Op0->getType(), ConstOp1->getType()}); in adjustICmpToBuiltin() 130 auto *NewInst = CallInst::Create(Fn, {Opcode, Op0, ConstOp1}); in adjustICmpToBuiltin() 162 Value *Op0, *Op1; in serializeICMPInBB() local 164 if (!match(&I, m_LogicalOr(m_Value(Op0), m_Value(Op1)))) in serializeICMPInBB() 166 auto *Icmp1 = dyn_cast<ICmpInst>(Op0); in serializeICMPInBB()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.cpp | 184 void MachineIRBuilder::validateUnaryOp(const LLT Res, const LLT Op0) { in validateUnaryOp() argument 186 assert((Res == Op0) && "type mismatch"); in validateUnaryOp() 189 void MachineIRBuilder::validateBinaryOp(const LLT Res, const LLT Op0, in validateBinaryOp() argument 192 assert((Res == Op0 && Res == Op1) && "type mismatch"); in validateBinaryOp() 195 void MachineIRBuilder::validateShiftOp(const LLT Res, const LLT Op0, in validateShiftOp() argument 198 assert((Res == Op0) && "type mismatch"); in validateShiftOp() 202 MachineIRBuilder::buildPtrAdd(const DstOp &Res, const SrcOp &Op0, in buildPtrAdd() argument 205 Res.getLLTTy(*getMRI()) == Op0.getLLTTy(*getMRI()) && "type mismatch"); in buildPtrAdd() 208 return buildInstr(TargetOpcode::G_PTR_ADD, {Res}, {Op0, Op1}, Flags); in buildPtrAdd() 212 MachineIRBuilder::materializePtrAdd(Register &Res, Register Op0, in materializePtrAdd() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 2691 m_MaskedLoad(const Opnd0 &Op0, const Opnd1 &Op1, const Opnd2 &Op2, 2693 return m_Intrinsic<Intrinsic::masked_load>(Op0, Op1, Op2, Op3); 2699 m_MaskedGather(const Opnd0 &Op0, const Opnd1 &Op1, const Opnd2 &Op2, 2701 return m_Intrinsic<Intrinsic::masked_gather>(Op0, Op1, Op2, Op3); 2705 inline typename m_Intrinsic_Ty<T0>::Ty m_Intrinsic(const T0 &Op0) { 2706 return m_CombineAnd(m_Intrinsic<IntrID>(), m_Argument<0>(Op0)); 2710 inline typename m_Intrinsic_Ty<T0, T1>::Ty m_Intrinsic(const T0 &Op0, 2712 return m_CombineAnd(m_Intrinsic<IntrID>(Op0), m_Argument<1>(Op1)); 2717 m_Intrinsic(const T0 &Op0, const T1 &Op1, const T2 &Op2) { 2718 return m_CombineAnd(m_Intrinsic<IntrID>(Op0, Op1), m_Argument<2>(Op2)); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 204 Value *Op0, *Op1; in matchAndOrChain() local 209 if (match(V, m_And(m_Value(Op0), m_One()))) { in matchAndOrChain() 211 return matchAndOrChain(Op0, MOps); in matchAndOrChain() 213 if (match(V, m_And(m_Value(Op0), m_Value(Op1)))) in matchAndOrChain() 214 return matchAndOrChain(Op0, MOps) && matchAndOrChain(Op1, MOps); in matchAndOrChain() 217 if (match(V, m_Or(m_Value(Op0), m_Value(Op1)))) in matchAndOrChain() 218 return matchAndOrChain(Op0, MOps) && matchAndOrChain(Op1, MOps); in matchAndOrChain() 312 Value *Op0 = I.getOperand(0); in tryToRecognizePopCount() local 316 if ((match(Op0, m_Mul(m_Value(MulOp0), m_SpecificInt(Mask01)))) && in tryToRecognizePopCount() 856 Value *Op0 = I->getOperand(0); in optimizeShiftInOrChain() local [all …]
|