Searched refs:SExtInst (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp78 if (isa<SExtInst>(*UI)) {
80 SExtInst* SI = new SExtInst(&Arg, Use->getType());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp126 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) {
H A DNaryReassociate.cpp335 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) {
H A DSeparateConstOffsetFromGEP.cpp594 } else if (isa<SExtInst>(V)) {
659 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) &&
1178 Instruction *NewSExt = new SExtInst(Dom, I->getType(), "", I);
H A DCorrelatedValuePropagation.cpp720 static bool processSExt(SExtInst *SDI, LazyValueInfo *LVI) {
875 BBChanged |= processSExt(cast<SExtInst>(II), LVI);
H A DIndVarSimplify.cpp1494 SExtInst *User = dyn_cast<SExtInst>(U.getUser());
1545 SExtInst *User = dyn_cast<SExtInst>(U.getUser());
1614 if ((isa<SExtInst>(DU.NarrowUse) && canWidenBySExt()) ||
H A DLoopRerollPass.cpp556 isa<SExtInst>(UUser))
1179 if (isa<SExtInst>(UUser)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp103 if (auto *SExt = dyn_cast<SExtInst>(V)) {
336 if (auto *SExt = dyn_cast<SExtInst>(V)) {
365 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back()))
740 Instruction *BaseSExt = dyn_cast<SExtInst>(Base->user_back());
741 Instruction *OffsetSExt = dyn_cast<SExtInst>(Offset->user_back());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h140 void visitSExtInst(SExtInst &I);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp14 // 2. Supported leaves: ZExtInst, SExtInst, TruncInst and Constant value.
241 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I));
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstVisitor.h180 RetTy visitSExtInst(SExtInst &I) { DELEGATE(CastInst);}
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h663 if (const auto* Cast = dyn_cast<SExtInst>(Val)) {
892 if (isa<SExtInst>(U) || isa<ZExtInst>(U) || isa<FPExtInst>(U))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp922 else if (isa<SExtInst>(UserI))
1017 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) ||
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2746 case SExt: return new SExtInst (S, Ty, Name, InsertBefore);
2768 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd);
3317 SExtInst::SExtInst( function in class:SExtInst
3323 SExtInst::SExtInst( function in class:SExtInst
4188 SExtInst *SExtInst::cloneImpl() const {
4189 return new SExtInst(getOperand(0), getType());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp389 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) &&
435 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) ||
H A DBasicAliasAnalysis.cpp295 // so we'll zext here and process any extension in the isa<SExtInst> &
306 // extensions below (see the isa<SExtInst> / isa<ZExtInst> cases).
377 if (isa<SExtInst>(V) || isa<ZExtInst>(V)) {
390 if (isa<SExtInst>(V) && ZExtBits == 0) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp240 (!isa<SExtInst>(Args[1]) && !isa<ZExtInst>(Args[1])) ||
880 if (!isa<SExtInst>(&I))
H A DAArch64FastISel.cpp309 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) &&
747 } else if (const auto *SE = dyn_cast<SExtInst>(I)) {
831 } else if (const auto *SE = dyn_cast<SExtInst>(I)) {
890 } else if (const auto *SE = dyn_cast<SExtInst>(U)) {
2016 } else if (const auto *SE = dyn_cast<SExtInst>(I->use_begin()->getUser())) {
4586 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) &&
4714 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) {
4781 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp437 if (!isa<SExtInst>(OpA) && !isa<ZExtInst>(OpA))
440 bool Signed = isa<SExtInst>(OpA);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3846 if (IsSExt && isa<SExtInst>(Inst))
3923 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd)))
3936 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) &&
3940 bool IsSExt = isa<SExtInst>(Ext);
3955 if (isa<SExtInst>(ExtOpnd) || isa<TruncInst>(ExtOpnd) ||
5177 bool IsSExt = isa<SExtInst>(FirstUser);
5181 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI)))
5329 if (RemovedInsts.count(Inst) || !isa<SExtInst>(Inst) ||
7082 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1269 return new SExtInst(X, Ty);
1308 return new SExtInst(NewSh, Ty);
H A DInstCombineInternal.h412 Instruction *visitSExt(SExtInst &CI);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp857 [](const User *U) { return isa<SExtInst>(U); }));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp596 Ext = new SExtInst(Op1, IVTy, "sext", ICI);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp581 return PT->push_back(new SExtInst(V, DestTy, "Se", BB->getTerminator()));

Completed in 243 milliseconds

12