Lines Matching refs:CurOp
6015 Value *CurOp = Worklist.back(); in ConstructLoadOperandConstant() local
6016 if (!Visited.insert(CurOp).second) in ConstructLoadOperandConstant()
6018 if (isa<Constant>(CurOp)) in ConstructLoadOperandConstant()
6020 if (auto *BC = dyn_cast<BitCastOperator>(CurOp)) { in ConstructLoadOperandConstant()
6022 } else if (auto *GEP = dyn_cast<GEPOperator>(CurOp)) { in ConstructLoadOperandConstant()
6028 } else if (auto *II = dyn_cast<IntrinsicInst>(CurOp)) { in ConstructLoadOperandConstant()
6040 Value *CurOp = Worklist.pop_back_val(); in ConstructLoadOperandConstant() local
6041 if (isa<BitCastOperator>(CurOp)) { in ConstructLoadOperandConstant()
6042 NewOp = ConstantExpr::getBitCast(NewOp, CurOp->getType()); in ConstructLoadOperandConstant()
6043 } else if (auto *GEP = dyn_cast<GEPOperator>(CurOp)) { in ConstructLoadOperandConstant()
6053 assert(isa<IntrinsicInst>(CurOp) && in ConstructLoadOperandConstant()
6054 cast<IntrinsicInst>(CurOp)->isLaunderOrStripInvariantGroup() && in ConstructLoadOperandConstant()
6056 NewOp = ConstantExpr::getBitCast(NewOp, CurOp->getType()); in ConstructLoadOperandConstant()