Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp70 Constant *ConstOp = cast<Constant>(&Op); in shouldConvertToRelLookupTable() local
76 if (!IsConstantOffsetFromGlobal(ConstOp, GVOp, Offset, DL)) in shouldConvertToRelLookupTable()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp598 const Constant *ConstOp = dyn_cast<Constant>(Op); in ConstHasGlobalValuePredicate() local
599 if (!ConstOp) in ConstHasGlobalValuePredicate()
601 if (Visited.insert(ConstOp).second) in ConstHasGlobalValuePredicate()
602 WorkList.push_back(ConstOp); in ConstHasGlobalValuePredicate()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2462 const SCEVConstant *ConstOp = getConstantPart(Product); in gcdMIVtest() local
2463 if (!ConstOp) in gcdMIVtest()
2465 APInt ConstOpValue = ConstOp->getAPInt(); in gcdMIVtest()
H A DInstructionSimplify.cpp4443 if (Constant *ConstOp = dyn_cast<Constant>(NewOp)) in simplifyWithOpReplaced() local
4444 ConstOps.push_back(ConstOp); in simplifyWithOpReplaced()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp980 ConstantSDNode *ConstOp; in combineShiftToAVG() local
981 if ((ConstOp = isConstOrConstSplat(Op2, DemandedElts)) && in combineShiftToAVG()
982 ConstOp->isOne()) { in combineShiftToAVG()
988 if ((ConstOp = isConstOrConstSplat(Op3, DemandedElts)) && in combineShiftToAVG()
989 ConstOp->isOne()) { in combineShiftToAVG()
H A DDAGCombiner.cpp16854 SDValue ConstOp, Pow2Op; in combineFMulOrFDivWithIntPow2() local
16861 ConstOp = peekThroughBitcasts(N->getOperand(ConstOpIdx)); in combineFMulOrFDivWithIntPow2()
16906 return ISD::matchUnaryFpPredicate(ConstOp, IsFPConstValid); in combineFMulOrFDivWithIntPow2()
16912 if (!TLI.optimizeFMulOrFDivAsShiftAddBitcast(N, ConstOp, Pow2Op)) in combineFMulOrFDivWithIntPow2()
16938 NewIntVT, DAG.getBitcast(NewIntVT, ConstOp), Shift); in combineFMulOrFDivWithIntPow2()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15805 SDValue ConstOp = DAG.getConstant(Imm, dl, MVT::i32); in PerformDAGCombine() local
15806 SDValue NarrowAnd = DAG.getNode(ISD::AND, dl, MVT::i32, NarrowOp, ConstOp); in PerformDAGCombine()