|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/BrainF/BrainF.cpp 231 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg);
include/llvm/IR/IRBuilder.h 1925 return CreateSExt(V, DestTy, Name);
lib/Analysis/ScalarEvolutionExpander.cpp 1656 Value *I = Builder.CreateSExt(V, Ty);
lib/CodeGen/CodeGenPrepare.cpp 2442 Val = Builder.CreateSExt(Opnd, Ty, "promoted");
lib/IR/AutoUpgrade.cpp 1174 Value *Ext = Builder.CreateSExt(Cmp, Ty);
1389 return Builder.CreateSExt(Mask, ReturnOp, "vpmovm2");
1781 Rep = Builder.CreateSExt(Rep, CI->getType(), "");
2265 Rep = DoSext ? Builder.CreateSExt(SV, DstTy)
lib/IR/Core.cpp 3716 return wrap(unwrap(B)->CreateSExt(unwrap(Val), unwrap(DestTy), Name));
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp 303 ExtOp0 = Builder.CreateSExt(I.getOperand(0), I32Ty);
304 ExtOp1 = Builder.CreateSExt(I.getOperand(1), I32Ty);
343 ExtOp0 = Builder.CreateSExt(I.getOperand(0), I32Ty);
344 ExtOp1 = Builder.CreateSExt(I.getOperand(1), I32Ty);
371 ExtOp1 = Builder.CreateSExt(I.getOperand(1), I32Ty);
372 ExtOp2 = Builder.CreateSExt(I.getOperand(2), I32Ty);
730 Res = Builder.CreateSExt(Res, Ty);
762 Num = Builder.CreateSExt(Num, I32Ty);
763 Den = Builder.CreateSExt(Den, I32Ty);
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 232 Arg = Builder.CreateSExt(Arg, ResType);
365 Builder.CreateSExt(Builder.CreateNot(cmp), I32Ty, "printf_res");
lib/Target/ARM/ARMParallelDSP.cpp 682 Mul = cast<Instruction>(Builder.CreateSExt(Mul, R.getRoot()->getType()));
703 Acc = Builder.CreateSExt(Acc, R.getType());
785 Value *NewBaseSExt = IRB.CreateSExt(Bottom, BaseSExt->getType());
792 Value *NewOffsetSExt = IRB.CreateSExt(Trunc, OffsetSExt->getType());
lib/Target/RISCV/RISCVISelLowering.cpp 2816 Incr = Builder.CreateSExt(Incr, Builder.getInt64Ty());
2817 Mask = Builder.CreateSExt(Mask, Builder.getInt64Ty());
2818 ShiftAmt = Builder.CreateSExt(ShiftAmt, Builder.getInt64Ty());
2863 CmpVal = Builder.CreateSExt(CmpVal, Builder.getInt64Ty());
2864 NewVal = Builder.CreateSExt(NewVal, Builder.getInt64Ty());
2865 Mask = Builder.CreateSExt(Mask, Builder.getInt64Ty());
lib/Transforms/InstCombine/InstCombineAddSub.cpp 852 Value *WideX = Builder.CreateSExt(X, Ty);
lib/Transforms/InstCombine/InstCombineCalls.cpp 3774 SrcLHS = Builder.CreateSExt(SrcLHS, CmpTy);
3775 SrcRHS = Builder.CreateSExt(SrcRHS, CmpTy);
lib/Transforms/InstCombine/InstCombineSelect.cpp 2073 Value *AT = Builder.CreateSExt(A, NewTy);
2074 Value *BT = Builder.CreateSExt(B, NewTy);
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1885 setShadow(&I, IRB.CreateSExt(getShadow(&I, 0), I.getType(), "_msprop"));
2383 Value *S2Conv = IRB.CreateSExt(IRB.CreateICmpNE(S2, getCleanShadow(S2)),
2702 return IRB.CreateSExt(S2, T);
2793 Value *S1_ext = IRB.CreateSExt(
2795 Value *S2_ext = IRB.CreateSExt(
2824 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)),
2840 S = IRB.CreateSExt(IRB.CreateICmpNE(S, Constant::getNullValue(ResTy)),
2854 Value *S = IRB.CreateSExt(
2963 getShadow(PassThru), IRB.CreateSExt(IRB.CreateNeg(Mask), ShadowTy));
2997 SMask = IRB.CreateSExt(IRB.CreateICmpNE(SMask, getCleanShadow(ShadowTy)),
4270 return IRB.CreateSExt(SaveArea32, MS.IntptrTy);
lib/Transforms/Scalar/IndVarSimplify.cpp 1080 return IsSigned ? Builder.CreateSExt(NarrowOper, WideType) :
2525 ExitCnt = Builder.CreateSExt(ExitCnt, IndVar->getType(),
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 1269 return IsSignedPredicate ? B.CreateSExt(V, RangeTy, "wide." + V->getName())
lib/Transforms/Utils/IntegerDivision.cpp 512 ExtDividend = Builder.CreateSExt(Rem->getOperand(0), Int32Ty);
513 ExtDivisor = Builder.CreateSExt(Rem->getOperand(1), Int32Ty);
560 ExtDividend = Builder.CreateSExt(Rem->getOperand(0), Int64Ty);
561 ExtDivisor = Builder.CreateSExt(Rem->getOperand(1), Int64Ty);
609 ExtDividend = Builder.CreateSExt(Div->getOperand(0), Int32Ty);
610 ExtDivisor = Builder.CreateSExt(Div->getOperand(1), Int32Ty);
658 ExtDividend = Builder.CreateSExt(Div->getOperand(0), Int64Ty);
659 ExtDivisor = Builder.CreateSExt(Div->getOperand(1), Int64Ty);
lib/Transforms/Utils/SimplifyLibCalls.cpp 1419 return isa<SIToFPInst>(I2F) ? B.CreateSExt(Op, B.getInt32Ty())
lib/Transforms/Vectorize/LoopVectorize.cpp 3753 Value *Extnd = RdxDesc.isSigned() ? Builder.CreateSExt(Trunc, VecTy)
3805 ? Builder.CreateSExt(ReducedPartRdx, Phi->getType())
lib/Transforms/Vectorize/SLPVectorizer.cpp 4272 return Builder.CreateSExt(Ex, ScalarType);
tools/clang/lib/CodeGen/CGBuiltin.cpp 1328 Signed = CGF.Builder.CreateSExt(Signed, Unsigned->getType(), "op.sext");
2650 return RValue::get(Builder.CreateSExt(Result, Int64Ty, "extend.sext"));
5551 return Builder.CreateSExt(Ops[0], Ty, "vmovl");
5629 Ops[0] = Builder.CreateSExt(Ops[0], VTy);
5724 return Builder.CreateSExt(Ops[0], Ty, "vtst");
5831 return Builder.CreateSExt(Op, Ty, Name);
6974 CmpRes = Builder.CreateSExt(CmpRes, Ty);
6993 CmpRes = Builder.CreateSExt(CmpRes, Ty);
7687 Ops[0] = Builder.CreateSExt(Ops[0], InTy, "sext");
7780 return Builder.CreateSExt(Ops[0], Int64Ty, "vceqzd");
7800 return Builder.CreateSExt(Ops[0], Int64Ty, "vcmpd");
7820 return Builder.CreateSExt(Ops[0], Int32Ty, "vcmpd");
7840 return Builder.CreateSExt(Ops[0], Int16Ty, "vcmpd");
7870 return Builder.CreateSExt(Ops[0], Int64Ty, "vceqd");
7880 return Builder.CreateSExt(Ops[0], Int64Ty, "vtstd");
8059 {Ops[1], Builder.CreateSExt(Ops[2], Int64Ty)});
9651 Value *Res = CGF.Builder.CreateSExt(Cmp, Ty);
9990 return CGF.Builder.CreateSExt(Mask, DstTy, "vpmovm2");
10209 Value *Sext = Builder.CreateSExt(Cmp, IntVecTy);
13057 return Builder.CreateCall(F, Builder.CreateSExt(Data, Int64Ty, "tabort"));
14238 return Builder.CreateSExt(Extract, ConvertType(E->getType()));
tools/clang/lib/CodeGen/CGExprCXX.cpp 819 numElements = CGF.Builder.CreateSExt(numElements, CGF.SizeTy);
tools/clang/lib/CodeGen/CGExprScalar.cpp 2620 return Builder.CreateSExt(Result, ConvertType(E->getType()), "sext");
3130 llvm::Value *lhs = Builder.CreateSExt(Ops.LHS, CGF.Int64Ty);
3131 llvm::Value *rhs = Builder.CreateSExt(Ops.RHS, CGF.Int64Ty);
3852 return Builder.CreateSExt(Result, ConvertType(E->getType()), "sext");
3978 return Builder.CreateSExt(And, ConvertType(E->getType()), "sext");
4062 return Builder.CreateSExt(Or, ConvertType(E->getType()), "sext");
4204 llvm::Value *tmp = Builder.CreateSExt(TestMSB,
tools/clang/lib/CodeGen/CodeGenFunction.cpp 526 auto *PCRelAsInt = Builder.CreateSExt(EncodedAddr, IntPtrTy);
tools/polly/lib/CodeGen/IslExprBuilder.cpp 186 V = Builder.CreateSExt(V, MaxType);
217 OpV = Builder.CreateSExt(OpV, Ty);
220 V = Builder.CreateSExt(V, Ty);
393 RHS = Builder.CreateSExt(RHS, MaxType);
396 LHS = Builder.CreateSExt(LHS, MaxType);
472 RHS = Builder.CreateSExt(RHS, MaxType);
475 LHS = Builder.CreateSExt(LHS, MaxType);
515 RHS = Builder.CreateSExt(RHS, MaxType);
518 LHS = Builder.CreateSExt(LHS, MaxType);
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 449 ValueLB = Builder.CreateSExt(ValueLB, MaxType);
451 ValueInc = Builder.CreateSExt(ValueInc, MaxType);
547 ValueLB = Builder.CreateSExt(ValueLB, MaxType);
549 ValueUB = Builder.CreateSExt(ValueUB, MaxType);
551 ValueInc = Builder.CreateSExt(ValueInc, MaxType);
649 ValueUB, Builder.CreateSExt(Builder.getTrue(), ValueUB->getType()));
657 ValueLB = Builder.CreateSExt(ValueLB, MaxType);
659 ValueUB = Builder.CreateSExt(ValueUB, MaxType);
661 ValueInc = Builder.CreateSExt(ValueInc, MaxType);
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp 130 Val = Builder.CreateSExt(Val, Builder.getInt64Ty());
203 Val = Builder.CreateSExt(Val, Builder.getInt64Ty());
unittests/IR/PatternMatch.cpp 479 Value *One64S = IRB.CreateSExt(One32, IntegerType::getInt64Ty(Ctx));