/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptimizeSZextends.cpp | 78 if (isa<SExtInst>(U)) { in runOnFunction() 80 SExtInst* SI = new SExtInst(&Arg, Use->getType()); in runOnFunction()
|
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/ |
H A D | RISCVCodeGenPrepare.cpp | 77 auto *SExt = new SExtInst(Src, ZExt.getType(), "", &ZExt); in visitZExtInst() 91 auto *SExt = new SExtInst(Src, ZExt.getType(), "", &ZExt); in visitZExtInst() 117 if (!LHS || (!isa<SExtInst>(LHS) && !isa<ZExtInst>(LHS))) in visitAnd()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | BDCE.cpp | 114 if (SExtInst *SE = dyn_cast<SExtInst>(&I)) { in bitTrackingDCE()
|
H A D | LoopFlatten.cpp | 231 (isa<SExtInst>(MatchedItCount) || isa<ZExtInst>(MatchedItCount))) { in matchLinearIVUser() 234 MatchedItCount = isa<SExtInst>(MatchedItCount) in matchLinearIVUser() 235 ? dyn_cast<SExtInst>(MatchedItCount)->getOperand(0) in matchLinearIVUser() 256 (isa<SExtInst>(InnerTripCount) || isa<ZExtInst>(InnerTripCount))) in checkInnerInductionPhiUsers() 368 if ((!isa<ZExtInst>(TripCountInst) && !isa<SExtInst>(TripCountInst)) || in verifyTripCount()
|
H A D | LowerExpectIntrinsic.cpp | 159 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) { in handlePhiDef()
|
H A D | SeparateConstOffsetFromGEP.cpp | 625 } else if (isa<SExtInst>(V)) { in find() 690 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain() 1226 Instruction *NewSExt = new SExtInst(Dom, I->getType(), "", I); in reuniteExts() 1238 Instruction *NewSExt = new SExtInst(Dom, I->getType(), "", I); in reuniteExts()
|
H A D | NaryReassociate.cpp | 363 if (SExtInst *SExt = dyn_cast<SExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
|
H A D | CorrelatedValuePropagation.cpp | 1038 static bool processSExt(SExtInst *SDI, LazyValueInfo *LVI) { in processSExt() 1184 BBChanged |= processSExt(cast<SExtInst>(&II), LVI); in runImpl()
|
H A D | LoopRerollPass.cpp | 562 isa<SExtInst>(UUser)) in isLoopControlIV() 1193 if (isa<SExtInst>(UUser)) { in validate()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMParallelDSP.cpp | 104 if (auto *SExt = dyn_cast<SExtInst>(V)) { in InsertMuls() 328 if (auto *SExt = dyn_cast<SExtInst>(V)) { in IsNarrowSequence() 356 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back())) in RecordMemoryOps() 739 Instruction *BaseSExt = dyn_cast<SExtInst>(Base->user_back()); in CreateWideLoad() 740 Instruction *OffsetSExt = dyn_cast<SExtInst>(Offset->user_back()); in CreateWideLoad()
|
H A D | MVELaneInterleavingPass.cpp | 340 bool Sext = isa<SExtInst>(I); in tryInterleave()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 279 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType() 520 assert((isa<SExtInst>(I.first) || isa<ZExtInst>(I.first)) && in ReduceExpressionGraph()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.h | 139 void visitSExtInst(SExtInst &I);
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 1503 return new SExtInst(X, Ty); in visitAShr() 1542 return new SExtInst(NewSh, Ty); in visitAShr() 1548 return new SExtInst(Builder.CreateIsNotNull(X), Ty); in visitAShr() 1553 return new SExtInst(Builder.CreateICmpSLT(X, Y), Ty); in visitAShr()
|
H A D | InstCombineInternal.h | 132 Instruction *visitSExt(SExtInst &Sext); 254 Instruction *transformSExtICmp(ICmpInst *Cmp, SExtInst &Sext);
|
/openbsd/gnu/llvm/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
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | Instructions.cpp | 3361 case SExt: return new SExtInst (S, Ty, Name, InsertBefore); in Create() 3383 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create() 3861 SExtInst::SExtInst( in SExtInst() function in SExtInst 3867 SExtInst::SExtInst( in SExtInst() function in SExtInst 4868 SExtInst *SExtInst::cloneImpl() const { in cloneImpl() 4869 return new SExtInst(getOperand(0), getType()); in cloneImpl()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86PartialReduction.cpp | 78 if (isa<SExtInst>(LHS)) in matchVPDPBUSDPattern()
|
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 1041 else if (isa<SExtInst>(UserI)) in isFoldableLoad() 1143 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) || in getMemoryOpCost()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 505 if (!isa<SExtInst>(OpA) && !isa<ZExtInst>(OpA)) in lookThroughComplexAddresses() 508 bool Signed = isa<SExtInst>(OpA); in lookThroughComplexAddresses()
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64FastISel.cpp | 299 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in isIntExtFree() 756 } else if (const auto *SE = dyn_cast<SExtInst>(I)) { in computeAddress() 838 } else if (const auto *SE = dyn_cast<SExtInst>(I)) { in computeAddress() 895 } else if (const auto *SE = dyn_cast<SExtInst>(U)) { in computeAddress() 1988 } else if (const auto *SE = dyn_cast<SExtInst>(I->use_begin()->getUser())) { in selectLoad() 4518 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in selectIntExt() 4633 } else if (const auto *SExt = dyn_cast<SExtInst>(Src0)) { in selectMul() 4697 } else if (const auto *SExt = dyn_cast<SExtInst>(Op0)) { in selectShift()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 554 Ext = new SExtInst(Op1, IVTy, "sext", ICI); in eliminateTrunc() 1574 User = dyn_cast<SExtInst>(User); in widenWithVariantUse() 1734 if ((isa<SExtInst>(DU.NarrowUse) && canWidenBySExt()) || in widenIVUse()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 686 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes() 731 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 4283 if (IsSExt && isa<SExtInst>(Inst)) in canGetThrough() 4360 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough() 4373 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) && in getAction() 4377 bool IsSExt = isa<SExtInst>(Ext); in getAction() 4392 if (isa<SExtInst>(ExtOpnd) || isa<TruncInst>(ExtOpnd) || in getAction() 5777 bool IsSExt = isa<SExtInst>(FirstUser); in hasSameExtUse() 5781 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse() 5929 if (RemovedInsts.count(Inst) || !isa<SExtInst>(Inst) || in mergeSExts() 8058 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { in optimizeInst()
|