Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp588 auto *SingleUser = cast<Instruction>(*I->user_begin()); in getCastInstrCost() local
589 SmallVector<const Value *, 4> Operands(SingleUser->operand_values()); in getCastInstrCost()
590 if (isWideningInstruction(Dst, SingleUser->getOpcode(), Operands)) { in getCastInstrCost()
593 if (I == SingleUser->getOperand(1)) in getCastInstrCost()
598 if (auto *Cast = dyn_cast<CastInst>(SingleUser->getOperand(1))) in getCastInstrCost()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp907 auto *SingleUser = cast<Instruction>(*I->user_begin()); in supportedAddressingMode() local
908 if (SingleUser->getParent() == I->getParent()) { in supportedAddressingMode()
909 if (isa<ICmpInst>(SingleUser)) { in supportedAddressingMode()
910 if (auto *C = dyn_cast<ConstantInt>(SingleUser->getOperand(1))) in supportedAddressingMode()
915 } else if (isa<StoreInst>(SingleUser)) in supportedAddressingMode()