Home
last modified time | relevance | path

Searched refs:ZExtInst (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp887 return new ZExtInst(Builder->CreateICmpEQ(Op1, One), I.getType()); in commonIDivTransforms()
911 if (ZExtInst *Z = dyn_cast<ZExtInst>(V)) { in dyn_castZExtVal()
973 if (isa<ZExtInst>(ShiftLeft)) in foldUDivShl()
981 if (ZExtInst *Z = dyn_cast<ZExtInst>(Op1)) in foldUDivShl()
1065 if (ZExtInst *ZOp0 = dyn_cast<ZExtInst>(Op0)) in visitUDiv()
1067 return new ZExtInst( in visitUDiv()
1135 return new ZExtInst(Builder->CreateICmpEQ(Op0, Op1), I.getType()); in visitSDiv()
1382 if (ZExtInst *ZOp0 = dyn_cast<ZExtInst>(Op0)) in visitURem()
1384 return new ZExtInst(Builder->CreateURem(ZOp0->getOperand(0), ZOp1), in visitURem()
DInstCombineShifts.cpp765 return new ZExtInst(Cmp, II->getType()); in visitLShr()
806 if (ZExtInst *ZI = dyn_cast<ZExtInst>(X)) { in visitAShr()
DInstCombineCasts.cpp345 if ((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in CanEvaluateTruncated()
757 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt()
828 return new ZExtInst(And, CI.getType()); in visitZExt()
1371 return new ZExtInst(SrcI, FITy); in FoldItoFPtoI()
1807 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
DInstCombineSelect.cpp959 return new ZExtInst(CondVal, SI.getType()); in visitSelectInst()
968 return new ZExtInst(NotCond, SI.getType()); in visitSelectInst()
DInstCombineInternal.h296 Instruction *visitZExt(ZExtInst &CI);
DInstCombineAddSub.cpp1077 if (ZExtInst *ZI = dyn_cast<ZExtInst>(LHS)) in visitAdd()
DInstCombineCompares.cpp1259 if (ZExtInst *Cast = dyn_cast<ZExtInst>(LHSI->getOperand(0))) { in visitICmpInstWithInstAndIntCst()
2300 if (ZExtInst *Zext = dyn_cast<ZExtInst>(OtherVal)) in ProcessUMulZExtIdiom()
DInstCombineSimplifyDemanded.cpp524 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()); in SimplifyDemandedUseBits()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp492 } else if (isa<ZExtInst>(V)) { in find()
553 assert((isa<SExtInst>(Cast) || isa<ZExtInst>(Cast)) && in distributeExtsAndCloneChain()
DScalarReplAggregates.cpp1109 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(SI->getOperand(0))) in updateDebugInfo()
2520 SrcField = new ZExtInst(SrcField, ResultVal->getType(), "", LI); in RewriteLoadUserOfWholeAlloca()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h160 void visitZExtInst(ZExtInst &I);
/external/llvm/include/llvm/IR/
DInstVisitor.h183 RetTy visitZExtInst(ZExtInst &I) { DELEGATE(CastInst);} in visitZExtInst()
DInstruction.def146 HANDLE_CAST_INST(34, ZExt , ZExtInst ) // Zero extend integers
DInstructions.h3427 class ZExtInst : public CastInst {
3430 ZExtInst *clone_impl() const override;
3434 ZExtInst(
3442 ZExtInst(
/external/llvm/lib/IR/
DInstructions.cpp2303 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create()
2325 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
2862 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst
2868 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst
3582 ZExtInst *ZExtInst::clone_impl() const { in clone_impl()
3583 return new ZExtInst(getOperand(0), getType()); in clone_impl()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2333 if (isa<ZExtInst>(Inst)) in canGetThrough()
2377 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough()
2392 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) && in getAction()
2412 isa<ZExtInst>(ExtOpnd)) in getAction()
2432 if (isa<ZExtInst>(SExtOpnd)) { in promoteOperandForTruncAndAnyExt()
3513 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse()
3689 if (isa<ZExtInst>(I)) in MoveExtToFormExtLoad()
4325 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { in OptimizeInst()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp266 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in isIntExtFree()
270 bool IsZExt = isa<ZExtInst>(I); in isIntExtFree()
672 if (const auto *ZE = dyn_cast<ZExtInst>(Src)) { in computeAddress()
755 if (const auto *ZE = dyn_cast<ZExtInst>(Src)) { in computeAddress()
811 if (const auto *ZE = dyn_cast<ZExtInst>(U)) { in computeAddress()
1884 if (const auto *ZE = dyn_cast<ZExtInst>(I->use_begin()->getUser())) { in selectLoad()
4351 bool IsZExt = isa<ZExtInst>(I); in optimizeIntExtLoad()
4388 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in selectIntExt()
4408 bool IsZExt = isa<ZExtInst>(I); in selectIntExt()
4507 if (const auto *ZExt = dyn_cast<ZExtInst>(Src0)) { in selectMul()
[all …]
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1012 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(SI->getOperand(0))) in ConvertDebugDeclareToDebugValue()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h80 class ZExtInst; variable
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp519 new ZExtInst(V, DestTy, "ZE", BB->getTerminator())); in Act()
/external/llvm/lib/Analysis/
DValueTracking.cpp1564 if (ZExtInst *ZI = dyn_cast<ZExtInst>(V)) in isKnownToBeAPowerOfTwo()
1755 if (isa<SExtInst>(V) || isa<ZExtInst>(V)) in isKnownNonZero()
DBasicAliasAnalysis.cpp253 (isa<ZExtInst>(V) && Extension != EK_SignExt)) { in GetLinearExpression()
DInstructionSimplify.cpp2385 if (isa<ZExtInst>(LHS)) { in SimplifyICmpInst()
2388 if (ZExtInst *RI = dyn_cast<ZExtInst>(RHS)) { in SimplifyICmpInst()
/external/llvm/include/llvm-c/
DCore.h1226 macro(ZExtInst) \
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp1292 bool isZExt = isa<ZExtInst>(I); in selectIntExt()

12