Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMCodeGenPrepare.cpp140 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSupportedType()
167 else if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSource()
177 if (Load->hasOneUse() && isa<ZExtInst>(*Load->use_begin())) in isSource()
236 if (auto *ZExt = dyn_cast<ZExtInst>(I)) in shouldPromote()
356 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in Mutate()
404 if (auto *ZExt = dyn_cast<ZExtInst>(V)) { in Mutate()
517 if (isa<ZExtInst>(Cast)) in isSupportedValue()
547 } else if (auto *ZExt = dyn_cast<ZExtInst>(V)) { in isLegalToPromote()
716 if (isa<ZExtInst>(I)) in runOnFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp425 if (ZExtInst *Z = dyn_cast<ZExtInst>(V)) { in dyn_castZExtVal()
494 if (ZExtInst *ZOp0 = dyn_cast<ZExtInst>(Op0)) in visitUDiv()
496 return new ZExtInst(Builder->CreateUDiv(ZOp0->getOperand(0), ZOp1, "div", in visitUDiv()
648 if (ZExtInst *ZOp0 = dyn_cast<ZExtInst>(Op0)) in visitURem()
650 return new ZExtInst(Builder->CreateURem(ZOp0->getOperand(0), ZOp1), in visitURem()
DInstCombineAddSub.cpp110 if (ZExtInst *ZI = dyn_cast<ZExtInst>(LHS)) in visitAdd()
582 if (ZExtInst *ZI = dyn_cast<ZExtInst>(Op1)) in visitSub()
DInstCombineShifts.cpp692 return new ZExtInst(Cmp, II->getType()); in visitLShr()
734 if (ZExtInst *ZI = dyn_cast<ZExtInst>(X)) { in visitAShr()
DInstCombineCasts.cpp340 if ((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in CanEvaluateTruncated()
746 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt()
815 return new ZExtInst(And, CI.getType()); in visitZExt()
1391 return new ZExtInst(P, CI.getType()); in visitPtrToInt()
1715 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp911 return new ZExtInst(Builder->CreateICmpEQ(Op1, One), I.getType()); in commonIDivTransforms()
935 if (ZExtInst *Z = dyn_cast<ZExtInst>(V)) { in dyn_castZExtVal()
997 if (isa<ZExtInst>(ShiftLeft)) in foldUDivShl()
1005 if (ZExtInst *Z = dyn_cast<ZExtInst>(Op1)) in foldUDivShl()
1089 if (ZExtInst *ZOp0 = dyn_cast<ZExtInst>(Op0)) in visitUDiv()
1091 return new ZExtInst( in visitUDiv()
1175 return new ZExtInst(Builder->CreateICmpEQ(Op0, Op1), I.getType()); in visitSDiv()
1431 if (ZExtInst *ZOp0 = dyn_cast<ZExtInst>(Op0)) in visitURem()
1433 return new ZExtInst(Builder->CreateURem(ZOp0->getOperand(0), ZOp1), in visitURem()
DInstCombineShifts.cpp766 return new ZExtInst(Cmp, II->getType()); in visitLShr()
807 if (ZExtInst *ZI = dyn_cast<ZExtInst>(X)) { in visitAShr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp616 return new ZExtInst(Builder.CreateShl(X, ShAmt), Ty); in visitShl()
723 return new ZExtInst(Cmp, Ty); in visitLShr()
768 return new ZExtInst(NewLShr, Ty); in visitLShr()
778 return new ZExtInst(X, Ty); in visitLShr()
783 return new ZExtInst(NewLShr, Ty); in visitLShr()
792 return new ZExtInst(AShr, Ty); in visitLShr()
DInstCombineMulDivRem.cpp364 if (auto *Op0Conv = dyn_cast<ZExtInst>(Op0)) { in visitMul()
375 return new ZExtInst(NewMul, I.getType()); in visitMul()
381 if (auto *Op1Conv = dyn_cast<ZExtInst>(Op1)) { in visitMul()
393 return new ZExtInst(NewMul, I.getType()); in visitMul()
753 return new ZExtInst(Builder.CreateICmpEQ(Op1, Op0), Ty); in commonIDivTransforms()
908 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem()
925 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem()
1074 return new ZExtInst(Builder.CreateICmpEQ(Op0, Op1), I.getType()); in visitSDiv()
DInstCombineAddSub.cpp973 return new ZExtInst(Builder.CreateNUWAdd(X, NewC), Ty); in foldAddWithConstant()
984 return new ZExtInst(Builder.CreateNot(X), Ty); in foldAddWithConstant()
1326 if (auto *LHSConv = dyn_cast<ZExtInst>(LHS)) { in visitAdd()
1337 return new ZExtInst(NewAdd, Ty); in visitAdd()
1343 if (auto *RHSConv = dyn_cast<ZExtInst>(RHS)) { in visitAdd()
1355 return new ZExtInst(NewAdd, Ty); in visitAdd()
DInstCombineCasts.cpp809 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, ZExtInst &CI, in transformZExtICmp()
1051 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt()
1124 return new ZExtInst(And, CI.getType()); in visitZExt()
1160 if (auto *LZExt = dyn_cast<ZExtInst>(LCast)) in visitZExt()
1162 if (auto *RZExt = dyn_cast<ZExtInst>(RCast)) in visitZExt()
1679 return new ZExtInst(SrcI, FITy); in FoldItoFPtoI()
2297 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp114 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef()
DNaryReassociate.cpp337 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
/external/spirv-llvm/lib/SPIRV/
DSPIRVLowerBool.cpp85 virtual void visitZExtInst(ZExtInst &I) { in visitZExtInst()
DSPIRVToOCL20.cpp511 if(!isa<ZExtInst>(Cast) && !isa<SExtInst>(Cast) && in visitCastInst()
537 if(isa<ZExtInst>(Cast) || isa<UIToFPInst>(Cast)) in visitCastInst()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp340 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
/external/llvm/lib/Analysis/
DVectorUtils.cpp330 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes()
376 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelAttributes.cpp177 auto *ZextGroupSize = dyn_cast<ZExtInst>(U); in processUse()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DInstVisitor.h179 RetTy visitZExtInst(ZExtInst &I) { DELEGATE(CastInst); } in visitZExtInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DVectorUtils.cpp332 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes()
378 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h139 void visitZExtInst(ZExtInst &I);
/external/llvm/lib/Target/PowerPC/
DPPCBoolRetToInt.cpp99 return new ZExtInst(V, Int32Ty, "", InstPt); in translate()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DInterpreter.h151 void visitZExtInst(ZExtInst &I);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCBoolRetToInt.cpp116 return new ZExtInst(V, IntTy, "", InstPt); in translate()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2254 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create()
2277 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
2676 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst
2682 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst
3380 ZExtInst *ZExtInst::clone_impl() const { in clone_impl()
3381 return new ZExtInst(getOperand(0), getType()); in clone_impl()

12345