Home
last modified time | relevance | path

Searched refs:ConstOp (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp84 Constant *ConstOp = cast<Constant>(&Op); in shouldConvertToRelLookupTable() local
90 if (!IsConstantOffsetFromGlobal(ConstOp, GVOp, Offset, DL)) in shouldConvertToRelLookupTable()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp615 const Constant *ConstOp = dyn_cast<Constant>(Op); in ConstHasGlobalValuePredicate() local
616 if (!ConstOp) in ConstHasGlobalValuePredicate()
618 if (Visited.insert(ConstOp).second) in ConstHasGlobalValuePredicate()
619 WorkList.push_back(ConstOp); in ConstHasGlobalValuePredicate()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2475 std::optional<APInt> ConstOp = getConstantPart(Product); in gcdMIVtest() local
2476 if (!ConstOp) in gcdMIVtest()
2478 ExtraGCD = APIntOps::GreatestCommonDivisor(ExtraGCD, ConstOp->abs()); in gcdMIVtest()
H A DInstructionSimplify.cpp4442 if (Constant *ConstOp = dyn_cast<Constant>(NewOp)) in simplifyWithOpsReplaced() local
4443 ConstOps.push_back(ConstOp); in simplifyWithOpsReplaced()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1035 ConstantSDNode *ConstOp; in combineShiftToAVG() local
1036 if ((ConstOp = isConstOrConstSplat(Op2, DemandedElts)) && in combineShiftToAVG()
1037 ConstOp->isOne()) { in combineShiftToAVG()
1043 if ((ConstOp = isConstOrConstSplat(Op3, DemandedElts)) && in combineShiftToAVG()
1044 ConstOp->isOne()) { in combineShiftToAVG()
H A DDAGCombiner.cpp17852 SDValue ConstOp, Pow2Op; in combineFMulOrFDivWithIntPow2() local
17859 ConstOp = peekThroughBitcasts(N->getOperand(ConstOpIdx)); in combineFMulOrFDivWithIntPow2()
17904 return ISD::matchUnaryFpPredicate(ConstOp, IsFPConstValid); in combineFMulOrFDivWithIntPow2()
17910 if (!TLI.optimizeFMulOrFDivAsShiftAddBitcast(N, ConstOp, Pow2Op)) in combineFMulOrFDivWithIntPow2()
17936 NewIntVT, DAG.getBitcast(NewIntVT, ConstOp), Shift); in combineFMulOrFDivWithIntPow2()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16695 SDValue ConstOp = DAG.getConstant(Imm, dl, MVT::i32); in PerformDAGCombine() local
16696 SDValue NarrowAnd = DAG.getNode(ISD::AND, dl, MVT::i32, NarrowOp, ConstOp); in PerformDAGCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp18325 const SDValue &ConstOp) -> bool { in combine_CC() argument
18326 if (const auto *XorCnst = dyn_cast<ConstantSDNode>(ConstOp)) { in combine_CC()