Home
last modified time | relevance | path

Searched refs:SExtInst (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp78 if (isa<SExtInst>(U)) { in runOnFunction()
80 SExtInst* SI = new SExtInst(&Arg, Use->getType()); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DBDCE.cpp111 if (SExtInst *SE = dyn_cast<SExtInst>(&I)) { in bitTrackingDCE()
H A DLoopFlatten.cpp234 (isa<SExtInst>(MatchedItCount) || isa<ZExtInst>(MatchedItCount))) { in matchLinearIVUser()
237 MatchedItCount = isa<SExtInst>(MatchedItCount) in matchLinearIVUser()
238 ? dyn_cast<SExtInst>(MatchedItCount)->getOperand(0) in matchLinearIVUser()
259 (isa<SExtInst>(InnerTripCount) || isa<ZExtInst>(InnerTripCount))) in checkInnerInductionPhiUsers()
371 if ((!isa<ZExtInst>(TripCountInst) && !isa<SExtInst>(TripCountInst)) || in verifyTripCount()
H A DLowerExpectIntrinsic.cpp153 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef()
H A DSeparateConstOffsetFromGEP.cpp637 } else if (isa<SExtInst>(V)) { in find()
703 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain()
1191 Instruction *NewSExt = new SExtInst(Dom, I->getType(), "", I); in reuniteExts()
1202 Instruction *NewSExt = new SExtInst(Dom, I->getType(), "", I); in reuniteExts()
H A DNaryReassociate.cpp364 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
H A DCorrelatedValuePropagation.cpp1035 static bool processSExt(SExtInst *SDI, LazyValueInfo *LVI) { in processSExt()
1175 BBChanged |= processSExt(cast<SExtInst>(&II), LVI); in runImpl()
H A DLoopRerollPass.cpp532 isa<SExtInst>(UUser)) in isLoopControlIV()
1163 if (isa<SExtInst>(UUser)) { in validate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp103 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls()
323 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence()
351 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back())) in RecordMemoryOps()
734 Instruction *BaseSExt = dyn_cast<SExtInst>(Base->user_back()); in CreateWideLoad()
735 Instruction *OffsetSExt = dyn_cast<SExtInst>(Offset->user_back()); in CreateWideLoad()
H A DMVELaneInterleavingPass.cpp366 bool Sext = isa<SExtInst>(I); in tryInterleave()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp178 SExtInst *SExt;
196 } else if (auto *SExt = dyn_cast<SExtInst>(V)) { in sinkMinMaxInBB()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp279 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType()
520 assert((isa<SExtInst>(I.first) || isa<ZExtInst>(I.first)) && in ReduceExpressionGraph()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h139 void visitSExtInst(SExtInst &I);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstVisitor.h178 RetTy visitSExtInst(SExtInst &I) { DELEGATE(CastInst);} in visitSExtInst()
H A DInstruction.def186 HANDLE_CAST_INST(40, SExt , SExtInst ) // Sign extend integers
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1588 return new SExtInst(X, Ty); in visitAShr()
1627 return new SExtInst(NewSh, Ty); in visitAShr()
1633 return new SExtInst(Builder.CreateIsNotNull(X), Ty); in visitAShr()
1638 return new SExtInst(Builder.CreateICmpSLT(X, Y), Ty); in visitAShr()
H A DInstCombineInternal.h137 Instruction *visitSExt(SExtInst &Sext);
305 Instruction *transformSExtICmp(ICmpInst *Cmp, SExtInst &Sext);
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp3340 case SExt: return new SExtInst (S, Ty, Name, InsertBefore); in Create()
3362 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create()
3840 SExtInst::SExtInst( in SExtInst() function in SExtInst
3846 SExtInst::SExtInst( in SExtInst() function in SExtInst
4852 SExtInst *SExtInst::cloneImpl() const { in cloneImpl()
4853 return new SExtInst(getOperand(0), getType()); in cloneImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp78 if (isa<SExtInst>(LHS)) in matchVPDPBUSDPattern()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1082 else if (isa<SExtInst>(UserI)) in isFoldableLoad()
1184 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) || in getMemoryOpCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp564 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes()
609 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1199 if (!isa<SExtInst>(OpA) && !isa<ZExtInst>(OpA)) in getConstantOffsetComplexAddrs()
1202 bool Signed = isa<SExtInst>(OpA); in getConstantOffsetComplexAddrs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp300 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in isIntExtFree()
759 } else if (const auto *SE = dyn_cast<SExtInst>(I)) { in computeAddress()
841 } else if (const auto *SE = dyn_cast<SExtInst>(I)) { in computeAddress()
898 } else if (const auto *SE = dyn_cast<SExtInst>(U)) { in computeAddress()
1982 } else if (const auto *SE = dyn_cast<SExtInst>(I->use_begin()->getUser())) { in selectLoad()
4554 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in selectIntExt()
4669 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul()
4733 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4425 if (IsSExt && isa<SExtInst>(Inst)) in canGetThrough()
4502 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough()
4515 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) && in getAction()
4519 bool IsSExt = isa<SExtInst>(Ext); in getAction()
4534 if (isa<SExtInst>(ExtOpnd) || isa<TruncInst>(ExtOpnd) || in getAction()
5918 bool IsSExt = isa<SExtInst>(FirstUser); in hasSameExtUse()
5922 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse()
6073 if (RemovedInsts.count(Inst) || !isa<SExtInst>(Inst) || in mergeSExts()
8225 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { in optimizeInst()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp581 return PT->push_back(new SExtInst(V, DestTy, "Se", BB->getTerminator())); in Act()

12