Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp583 const Constant *ConstOp = dyn_cast<Constant>(Op); in ConstHasGlobalValuePredicate() local
584 if (!ConstOp) in ConstHasGlobalValuePredicate()
586 if (Visited.insert(ConstOp).second) in ConstHasGlobalValuePredicate()
587 WorkList.push_back(ConstOp); in ConstHasGlobalValuePredicate()
/freebsd-14.2/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.cpp4422 if (Constant *ConstOp = dyn_cast<Constant>(NewOp)) in simplifyWithOpReplaced() local
4423 ConstOps.push_back(ConstOp); in simplifyWithOpReplaced()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp967 ConstantSDNode *ConstOp; in combineShiftToAVG() local
968 if ((ConstOp = isConstOrConstSplat(Op2, DemandedElts)) && in combineShiftToAVG()
969 ConstOp->isOne()) { in combineShiftToAVG()
975 if ((ConstOp = isConstOrConstSplat(Op3, DemandedElts)) && in combineShiftToAVG()
976 ConstOp->isOne()) { in combineShiftToAVG()
H A DDAGCombiner.cpp16552 SDValue ConstOp, Pow2Op; in combineFMulOrFDivWithIntPow2() local
16559 ConstOp = peekThroughBitcasts(N->getOperand(ConstOpIdx)); in combineFMulOrFDivWithIntPow2()
16604 return ISD::matchUnaryFpPredicate(ConstOp, IsFPConstValid); in combineFMulOrFDivWithIntPow2()
16610 if (!TLI.optimizeFMulOrFDivAsShiftAddBitcast(N, ConstOp, Pow2Op)) in combineFMulOrFDivWithIntPow2()
16636 NewIntVT, DAG.getBitcast(NewIntVT, ConstOp), Shift); in combineFMulOrFDivWithIntPow2()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15592 SDValue ConstOp = DAG.getConstant(Imm, dl, MVT::i32); in PerformDAGCombine() local
15593 SDValue NarrowAnd = DAG.getNode(ISD::AND, dl, MVT::i32, NarrowOp, ConstOp); in PerformDAGCombine()