| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOptimizeSZextends.cpp | 71 if (isa<SExtInst>(U)) { in runOnFunction() 73 SExtInst* SI = new SExtInst(&Arg, Use->getType()); in runOnFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | BDCE.cpp | 117 if (SExtInst *SE = dyn_cast<SExtInst>(&I)) { in bitTrackingDCE()
|
| H A D | LoopFlatten.cpp | 241 (isa<SExtInst>(MatchedItCount) || isa<ZExtInst>(MatchedItCount))) { in matchLinearIVUser() 244 MatchedItCount = isa<SExtInst>(MatchedItCount) in matchLinearIVUser() 245 ? dyn_cast<SExtInst>(MatchedItCount)->getOperand(0) in matchLinearIVUser() 266 (isa<SExtInst>(InnerTripCount) || isa<ZExtInst>(InnerTripCount))) in checkInnerInductionPhiUsers() 378 if ((!isa<ZExtInst>(TripCountInst) && !isa<SExtInst>(TripCountInst)) || in verifyTripCount()
|
| H A D | LowerExpectIntrinsic.cpp | 153 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 640 } else if (isa<SExtInst>(V)) { in find() 706 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain() 1299 new SExtInst(Dom, I->getType(), "", I->getIterator()); in reuniteExts() 1312 new SExtInst(Dom, I->getType(), "", I->getIterator()); in reuniteExts()
|
| H A D | NaryReassociate.cpp | 364 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
|
| H A D | CorrelatedValuePropagation.cpp | 1111 static bool processSExt(SExtInst *SDI, LazyValueInfo *LVI) { in processSExt() 1298 BBChanged |= processSExt(cast<SExtInst>(&II), LVI); in runImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 104 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls() 325 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() 353 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back())) in RecordMemoryOps() 741 Instruction *BaseSExt = dyn_cast<SExtInst>(Base->user_back()); in CreateWideLoad() 742 Instruction *OffsetSExt = dyn_cast<SExtInst>(Offset->user_back()); in CreateWideLoad()
|
| H A D | MVELaneInterleavingPass.cpp | 360 bool Sext = isa<SExtInst>(I); in tryInterleave()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFCheckAndAdjustIR.cpp | 178 SExtInst *SExt; 196 } else if (auto *SExt = dyn_cast<SExtInst>(V)) { in sinkMinMaxInBB()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 278 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType() 519 assert((isa<SExtInst>(I.first) || isa<ZExtInst>(I.first)) && in ReduceExpressionGraph()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 139 void visitSExtInst(SExtInst &I);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | InstVisitor.h | 178 RetTy visitSExtInst(SExtInst &I) { DELEGATE(CastInst);} in visitSExtInst()
|
| H A D | Instruction.def | 186 HANDLE_CAST_INST(40, SExt , SExtInst ) // Sign extend integers
|
| H A D | PatternMatch.h | 2157 inline CastInst_match<OpTy, SExtInst> m_SExt(const OpTy &Op) { in m_SExt() 2158 return CastInst_match<OpTy, SExtInst>(Op); in m_SExt() 2179 inline match_combine_or<CastInst_match<OpTy, SExtInst>, OpTy> 2186 inline match_combine_or<CastInst_match<OpTy, SExtInst>, NNegZExt_match<OpTy>> 2193 CastInst_match<OpTy, SExtInst>> 2200 CastInst_match<OpTy, SExtInst>>,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 1734 return new SExtInst(X, Ty); in visitAShr() 1773 return new SExtInst(NewSh, Ty); in visitAShr() 1779 return new SExtInst(Builder.CreateIsNotNull(X), Ty); in visitAShr() 1784 return new SExtInst(Builder.CreateICmpSLT(X, Y), Ty); in visitAShr() 1789 return new SExtInst(Builder.CreateIsNull(X), Ty); in visitAShr()
|
| H A D | InstCombineInternal.h | 137 Instruction *visitSExt(SExtInst &Sext); 311 Instruction *transformSExtICmp(ICmpInst *Cmp, SExtInst &Sext);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PartialReduction.cpp | 76 if (isa<SExtInst>(LHS)) in matchVPDPBUSDPattern()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 295 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in isIntExtFree() 755 } else if (const auto *SE = dyn_cast<SExtInst>(I)) { in computeAddress() 837 } else if (const auto *SE = dyn_cast<SExtInst>(I)) { in computeAddress() 894 } else if (const auto *SE = dyn_cast<SExtInst>(U)) { in computeAddress() 1979 } else if (const auto *SE = dyn_cast<SExtInst>(I->use_begin()->getUser())) { in selectLoad() 4571 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in selectIntExt() 4686 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() 4749 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 3042 case SExt: return new SExtInst (S, Ty, Name, InsertBefore); in Create() 3415 SExtInst::SExtInst(Value *S, Type *Ty, const Twine &Name, in SExtInst() function in SExtInst 4398 SExtInst *SExtInst::cloneImpl() const { in cloneImpl() 4399 return new SExtInst(getOperand(0), getType()); in cloneImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 1229 else if (isa<SExtInst>(UserI)) in isFoldableLoad() 1331 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) || in getMemoryOpCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1214 if (!isa<SExtInst>(OpA) && !isa<ZExtInst>(OpA)) in getConstantOffsetComplexAddrs() 1217 bool Signed = isa<SExtInst>(OpA); in getConstantOffsetComplexAddrs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 836 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes() 876 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 4856 if (IsSExt && isa<SExtInst>(Inst)) in canGetThrough() 4933 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough() 4946 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) && in getAction() 4950 bool IsSExt = isa<SExtInst>(Ext); in getAction() 4965 if (isa<SExtInst>(ExtOpnd) || isa<TruncInst>(ExtOpnd) || in getAction() 6424 bool IsSExt = isa<SExtInst>(FirstUser); in hasSameExtUse() 6428 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse() 6579 if (RemovedInsts.count(Inst) || !isa<SExtInst>(Inst) || in mergeSExts() 8736 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { in optimizeInst()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 569 new SExtInst(V, DestTy, "Se", BB->getTerminator()->getIterator())); in Act()
|