Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp269 auto *SingleUser = cast<Instruction>(*I->user_begin()); in getCastInstrCost() local
270 SmallVector<const Value *, 4> Operands(SingleUser->operand_values()); in getCastInstrCost()
271 if (isWideningInstruction(Dst, SingleUser->getOpcode(), Operands)) { in getCastInstrCost()
274 if (I == SingleUser->getOperand(1)) in getCastInstrCost()
279 if (auto *Cast = dyn_cast<CastInst>(SingleUser->getOperand(1))) in getCastInstrCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp643 auto *SingleUser = dyn_cast<Instruction>(*I->user_begin()); in supportedAddressingMode() local
644 if (SingleUser->getParent() == I->getParent()) { in supportedAddressingMode()
645 if (isa<ICmpInst>(SingleUser)) { in supportedAddressingMode()
646 if (auto *C = dyn_cast<ConstantInt>(SingleUser->getOperand(1))) in supportedAddressingMode()
651 } else if (isa<StoreInst>(SingleUser)) in supportedAddressingMode()