Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2872 Instruction *ExtOpnd = dyn_cast<Instruction>(Ext->getOperand(0)); in getAction() local
2878 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt)) in getAction()
2884 if (isa<TruncInst>(ExtOpnd) && InsertedInsts.count(ExtOpnd)) in getAction()
2889 if (isa<SExtInst>(ExtOpnd) || isa<TruncInst>(ExtOpnd) || in getAction()
2890 isa<ZExtInst>(ExtOpnd)) in getAction()
2895 if (!ExtOpnd->hasOneUse() && !TLI.isTruncateFree(ExtTy, ExtOpnd->getType())) in getAction()
2956 Instruction *ExtOpnd = cast<Instruction>(Ext->getOperand(0)); in promoteOperandForOther() local
2958 if (!ExtOpnd->hasOneUse()) { in promoteOperandForOther()
2963 Value *Trunc = TPT.createTrunc(Ext, ExtOpnd->getType()); in promoteOperandForOther()
2967 ITrunc->insertAfter(ExtOpnd); in promoteOperandForOther()
[all …]