Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp466 Value *OldOp = I->getOperand(OpNum); in aspaceWrapOperand() local
467 if (OldOp->getType()->getPointerAddressSpace() == 0) in aspaceWrapOperand()
470 Value *NewOp = aspaceWrapValue(Cache, I->getFunction(), OldOp); in aspaceWrapOperand()
475 auto *OldGEP = dyn_cast<GetElementPtrInst>(OldOp); in aspaceWrapOperand()
480 OldOp = OldGEP->getPointerOperand(); in aspaceWrapOperand()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h411 Value *OldOp = I.getOperand(OpNum); in replaceOperand() local
413 Worklist.handleUseCountDecrement(OldOp); in replaceOperand()
419 Value *OldOp = U; in replaceUse() local
421 Worklist.handleUseCountDecrement(OldOp); in replaceUse()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp115 static void replaceOperation(Value &NewOp, VPIntrinsic &OldOp) { in replaceOperation() argument
116 transferDecorations(NewOp, OldOp); in replaceOperation()
117 OldOp.replaceAllUsesWith(&NewOp); in replaceOperation()
118 OldOp.eraseFromParent(); in replaceOperation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2855 Value *OldOp = LI.getOperand(0); in visitLoadInst() local
2856 assert(OldOp == OldPtr); in visitLoadInst()
2963 deleteIfTriviallyDead(OldOp); in visitLoadInst()
2968 bool rewriteVectorizedStoreInst(Value *V, StoreInst &SI, Value *OldOp, in rewriteVectorizedStoreInst() argument
3037 Value *OldOp = SI.getOperand(1); in visitStoreInst() local
3038 assert(OldOp == OldPtr); in visitStoreInst()
3061 return rewriteVectorizedStoreInst(V, SI, OldOp, AATags); in visitStoreInst()
3096 deleteIfTriviallyDead(OldOp); in visitStoreInst()
H A DJumpThreading.cpp2031 for (auto &[OldOp, MappedOp] : OperandsToRemap) in cloneInstructions()
2032 DbgInstruction->replaceVariableLocationOp(OldOp, MappedOp); in cloneInstructions()
2050 for (auto &[OldOp, MappedOp] : OperandsToRemap) in cloneInstructions()
2051 DVR->replaceVariableLocationOp(OldOp, MappedOp); in cloneInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1300 auto ReplaceOldOpWithNewOp = [&](Value *OldOp, in foldSelectValueEquivalence()
1308 if (TrueVal == OldOp) in foldSelectValueEquivalence()
1311 if (Value *V = simplifyWithOpReplaced(TrueVal, OldOp, NewOp, SQ, in foldSelectValueEquivalence()
1336 if (OldOp == CmpLHS && match(NewOp, m_ImmConstant()) && in foldSelectValueEquivalence()
1337 !match(OldOp, m_Constant()) && !Cmp.getType()->isVectorTy() && in foldSelectValueEquivalence()
1339 if (replaceInInstruction(TrueVal, OldOp, NewOp)) in foldSelectValueEquivalence()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp859 ResolvedDbgOp OldOp(MLoc); in clobberMloc() local
864 replace_copy(ActiveVLocIt->second.Ops, DbgOps.begin(), OldOp, NewOp); in clobberMloc()