|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/BasicTTIImpl.h 719 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) &&
760 if (Opcode == Instruction::SExt)
1367 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
1431 IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
include/llvm/CodeGen/TargetLowering.h 2360 case Instruction::SExt:
include/llvm/IR/IRBuilder.h 1898 return CreateCast(Instruction::SExt, V, DestTy, Name);
include/llvm/IR/Instructions.h 4817 return I->getOpcode() == SExt;
include/llvm/IR/PatternMatch.h 1312 inline CastClass_match<OpTy, Instruction::SExt> m_SExt(const OpTy &Op) {
1313 return CastClass_match<OpTy, Instruction::SExt>(Op);
1329 inline match_combine_or<CastClass_match<OpTy, Instruction::SExt>, OpTy>
1336 CastClass_match<OpTy, Instruction::SExt>>
1344 CastClass_match<OpTy, Instruction::SExt>>,
lib/Analysis/CFLGraph.h 531 case Instruction::SExt:
lib/Analysis/ConstantFolding.cpp 1354 case Instruction::SExt:
lib/Analysis/DemandedBits.cpp 269 case Instruction::SExt:
lib/Analysis/InstructionSimplify.cpp 3345 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy);
lib/Analysis/LazyValueInfo.cpp 1030 case Instruction::SExt:
lib/Analysis/ObjCARCInstKind.cpp 270 case Instruction::SExt:
lib/Analysis/ScalarEvolution.cpp 6453 case Instruction::SExt:
lib/Analysis/TargetTransformInfo.cpp 1214 case Instruction::SExt:
lib/Analysis/ValueTracking.cpp 1158 case Instruction::SExt: {
2398 case Instruction::SExt:
2705 case Instruction::SExt:
4338 case Instruction::SExt:
4983 case Instruction::SExt:
lib/AsmParser/LLLexer.cpp 854 INSTKEYWORD(sext, SExt);
lib/Bitcode/Reader/BitcodeReader.cpp 1043 case bitc::CAST_SEXT : return Instruction::SExt;
lib/Bitcode/Writer/BitcodeWriter.cpp 506 case Instruction::SExt : return bitc::CAST_SEXT;
lib/CodeGen/AtomicExpandPass.cpp 959 CastOp = Instruction::SExt;
lib/CodeGen/CodeGenPrepare.cpp 4242 case Instruction::SExt:
6252 ExtType = Instruction::SExt;
lib/CodeGen/SelectionDAG/FastISel.cpp 1887 case Instruction::SExt:
lib/CodeGen/TargetLoweringBase.cpp 1619 case SExt: return ISD::SIGN_EXTEND;
lib/ExecutionEngine/ExecutionEngine.cpp 668 case Instruction::SExt: {
lib/ExecutionEngine/Interpreter/Execution.cpp 2028 case Instruction::SExt:
lib/IR/ConstantFold.cpp 527 if (opc == Instruction::ZExt || opc == Instruction::SExt ||
699 case Instruction::SExt:
1641 case Instruction::SExt:
1650 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
2092 if ((CE1->getOpcode() == Instruction::SExt &&
lib/IR/ConstantRange.cpp 633 case Instruction::SExt:
lib/IR/Constants.cpp 1249 case Instruction::SExt:
1575 case Instruction::SExt:
1652 (isSigned ? Instruction::SExt : Instruction::ZExt)));
1693 return getFoldedCast(Instruction::SExt, C, Ty, OnlyIfReduced);
2992 case Instruction::SExt:
lib/IR/Instruction.cpp 342 case SExt: return "sext";
lib/IR/Instructions.cpp 2455 case Instruction::SExt:
2497 case Instruction::SExt:
2754 case SExt: return new SExtInst (S, Ty, Name, InsertBefore);
2776 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd);
2812 return Create(Instruction::SExt, S, Ty, Name, InsertBefore);
2820 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd);
2921 (isSigned ? Instruction::SExt : Instruction::ZExt)));
2935 (isSigned ? Instruction::SExt : Instruction::ZExt)));
3116 return SExt; // signed -> SEXT
3217 case Instruction::SExt:
3327 ) : CastInst(Ty, SExt, S, Name, InsertBefore) {
3333 ) : CastInst(Ty, SExt, S, Name, InsertAtEnd) {
lib/Target/AArch64/AArch64FastISel.cpp 878 case Instruction::SExt:
5191 case Instruction::SExt:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 127 case Instruction::SExt:
403 assert((Opcode == Instruction::SExt || Opcode == Instruction::ZExt) &&
439 case Instruction::SExt:
lib/Target/ARM/ARMCodeGenPrepare.cpp 187 Opc == Instruction::SRem || Opc == Instruction::SExt;
lib/Target/ARM/ARMFastISel.cpp 2875 case Instruction::SExt:
lib/Target/ARM/ARMParallelDSP.cpp 476 case Instruction::SExt:
lib/Target/Mips/MipsFastISel.cpp 2076 case Instruction::SExt:
lib/Target/PowerPC/PPCFastISel.cpp 1980 case Instruction::SExt:
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp 168 case Instruction::SExt:
689 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) {
773 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) &&
781 if (Opcode == Instruction::SExt)
lib/Target/WebAssembly/WebAssemblyFastISel.cpp 1372 case Instruction::SExt:
lib/Target/X86/X86FastISel.cpp 3616 case Instruction::SExt:
lib/Target/X86/X86TargetTransformInfo.cpp 3034 case Instruction::SExt:
lib/Target/XCore/XCoreLowerThreadLocal.cpp 109 case Instruction::SExt:
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp 46 case Instruction::SExt:
106 case Instruction::SExt:
313 case Instruction::SExt: {
326 Opc == Instruction::SExt);
lib/Transforms/InstCombine/InstCombineAddSub.cpp 923 return CastInst::Create(Instruction::SExt, X, Ty);
lib/Transforms/InstCombine/InstCombineCasts.cpp 194 case Instruction::SExt:
204 Opc == Instruction::SExt);
423 case Instruction::SExt:
994 case Instruction::SExt: // zext(sext(x)) -> sext(x).
1322 case Instruction::SExt: // sext(sext(x)) -> sext(x)
lib/Transforms/InstCombine/InstCombineCompares.cpp 4306 bool IsSignedExt = CastOp0->getOpcode() == Instruction::SExt;
lib/Transforms/InstCombine/InstCombineSelect.cpp 1747 if (ExtOpcode != Instruction::ZExt && ExtOpcode != Instruction::SExt)
2076 return CastInst::Create(Instruction::SExt, Sat, Ty);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 395 case Instruction::SExt: {
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 1171 case Instruction::SExt:
1261 case Instruction::SExt:
1337 case Instruction::SExt:
lib/Transforms/InstCombine/InstructionCombining.cpp 1296 if (Cast->getOpcode() == Instruction::SExt) {
1389 assert((Ancestor->getOpcode() != Instruction::SExt || NoSignedWrap) &&
1581 CastInst::CastOps CastOpc = IsSext ? Instruction::SExt : Instruction::ZExt;
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 873 case Instruction::SExt:
lib/Transforms/Scalar/GVN.cpp 519 case Instruction::SExt:
lib/Transforms/Scalar/GVNSink.cpp 467 case Instruction::SExt:
lib/Transforms/Scalar/IndVarSimplify.cpp 896 bool IsSigned = Cast->getOpcode() == Instruction::SExt;
lib/Transforms/Scalar/LoopRerollPass.cpp 755 case Instruction::SExt:
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp 154 case Instruction::SExt:
lib/Transforms/Scalar/NewGVN.cpp 2020 case Instruction::SExt:
lib/Transforms/Scalar/SCCP.cpp 1533 case Instruction::SExt:
lib/Transforms/Scalar/SpeculativeExecution.cpp 226 case Instruction::SExt:
lib/Transforms/Utils/LoopRotationUtils.cpp 579 case Instruction::SExt:
lib/Transforms/Vectorize/LoopVectorize.cpp 3346 case Instruction::SExt:
4230 case Instruction::SExt:
6259 case Instruction::SExt:
6294 I->getOpcode() == Instruction::SExt) {
6871 case Instruction::SExt:
lib/Transforms/Vectorize/SLPVectorizer.cpp 2480 case Instruction::SExt:
3036 case Instruction::SExt:
3480 MinBWs[ScalarRoot].second ? Instruction::SExt : Instruction::ZExt;
3861 case Instruction::SExt:
5008 case Instruction::SExt:
tools/lldb/source/Expression/IRInterpreter.cpp 584 case Instruction::SExt:
902 case Instruction::SExt: {
unittests/IR/InstructionsTest.cpp 227 EXPECT_EQ(CastInst::SExt, CastInst::getCastOpcode(c8, true, V8x64Ty, true));