Home
last modified time | relevance | path

Searched refs:SingleUser (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp101 auto *SingleUser = cast<Instruction>(*I->user_begin()); in getCastInstrCost() local
102 int UserISD = TLI->InstructionOpcodeToISD(SingleUser->getOpcode()); in getCastInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3053 auto *SingleUser = cast<Instruction>(*I->user_begin()); in getCastInstrCost() local
3054 SmallVector<const Value *, 4> Operands(SingleUser->operand_values()); in getCastInstrCost()
3055 if (isWideningInstruction(Dst, SingleUser->getOpcode(), Operands, Src)) { in getCastInstrCost()
3059 if (SingleUser->getOpcode() == Instruction::Add) { in getCastInstrCost()
3060 if (I == SingleUser->getOperand(1) || in getCastInstrCost()
3061 (isa<CastInst>(SingleUser->getOperand(1)) && in getCastInstrCost()
3062 cast<CastInst>(SingleUser->getOperand(1))->getOpcode() == Opcode)) in getCastInstrCost()
3070 isExtPartOfAvgExpr(SingleUser, Dst, Src)) in getCastInstrCost()
H A DAArch64ISelLowering.cpp16904 auto *SingleUser = cast<Instruction>(&*U); in optimizeExtendOrTruncateConversion() local
16905 if (match(SingleUser, m_c_Mul(m_Specific(I), m_SExt(m_Value())))) in optimizeExtendOrTruncateConversion()
16907 if (match(SingleUser, in optimizeExtendOrTruncateConversion()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1342 auto *SingleUser = cast<Instruction>(*I->user_begin()); in supportedAddressingMode() local
1343 if (SingleUser->getParent() == I->getParent()) { in supportedAddressingMode()
1344 if (isa<ICmpInst>(SingleUser)) { in supportedAddressingMode()
1345 if (auto *C = dyn_cast<ConstantInt>(SingleUser->getOperand(1))) in supportedAddressingMode()
1350 } else if (isa<StoreInst>(SingleUser)) in supportedAddressingMode()