Searched refs:OtherUse (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Use.cpp | 24 void Use::swap(Use &OtherUse) { in swap() argument 25 Ctx->getTracker().emplaceIfTracking<UseSwap>(*this, OtherUse); in swap() 26 LLVMUse->swap(*OtherUse.LLVMUse); in swap()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Tracker.h | 200 Use OtherUse; variable 203 UseSwap(const Use &ThisUse, const Use &OtherUse) in UseSwap() argument 204 : ThisUse(ThisUse), OtherUse(OtherUse) { in UseSwap() 205 assert(ThisUse.getUser() == OtherUse.getUser() && "Expected same user!"); in UseSwap() 207 void revert(Tracker &Tracker) final { ThisUse.swap(OtherUse); } in revert()
|
| H A D | Use.h | 57 LLVM_ABI void swap(Use &OtherUse);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 38 static bool isUsedAsMemCpySource(const Value *V, bool &OtherUse) { in isUsedAsMemCpySource() argument 43 UsedAsMemCpySource |= isUsedAsMemCpySource(User, OtherUse); in isUsedAsMemCpySource() 52 OtherUse = true; in isUsedAsMemCpySource() 88 bool OtherUse = false; in adjustInliningThreshold() local 89 if (isUsedAsMemCpySource(&Arg, OtherUse) && !OtherUse) { in adjustInliningThreshold()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 3216 Instruction *OtherUse = dyn_cast<Instruction>(U); in ChainInstruction() local 3217 if (!OtherUse) in ChainInstruction() 3224 if (IncIter->UserInst == OtherUse) in ChainInstruction() 3230 if (SE.isSCEVable(OtherUse->getType()) in ChainInstruction() 3231 && !isa<SCEVUnknown>(SE.getSCEV(OtherUse)) in ChainInstruction() 3232 && IU.isIVUserOrOperand(OtherUse)) { in ChainInstruction() 3235 NearUsers.insert(OtherUse); in ChainInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 19611 for (SDNode *OtherUse : OtherUses) { in CombineToPreIndexedLoadStore() 19613 if (OtherUse->getOperand(OffsetIdx).getNode() == BasePtr.getNode()) in CombineToPreIndexedLoadStore() 19615 assert(OtherUse->getOperand(!OffsetIdx).getNode() == BasePtr.getNode() && in CombineToPreIndexedLoadStore() 19629 auto *CN = cast<ConstantSDNode>(OtherUse->getOperand(OffsetIdx)); in CombineToPreIndexedLoadStore() 19632 int X0 = (OtherUse->getOpcode() == ISD::SUB && OffsetIdx == 1) ? -1 : 1; in CombineToPreIndexedLoadStore() 19633 int Y0 = (OtherUse->getOpcode() == ISD::SUB && OffsetIdx == 0) ? -1 : 1; in CombineToPreIndexedLoadStore() 19644 SDLoc DL(OtherUse); in CombineToPreIndexedLoadStore() 19651 DAG.getNode(Opcode, DL, OtherUse->getValueType(0), NewOp1, NewOp2); in CombineToPreIndexedLoadStore() 19652 DAG.ReplaceAllUsesOfValueWith(SDValue(OtherUse, 0), NewUse); in CombineToPreIndexedLoadStore() 19653 deleteAndRecombine(OtherUse); in CombineToPreIndexedLoadStore()
|