Home
last modified time | relevance | path

Searched defs:Trunc (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp241 else if (auto *Trunc = dyn_cast<TruncInst>(V)) in isSource() local
538 auto *Trunc = dyn_cast<Instruction>(Builder.CreateTrunc(V, TruncTy)); in TruncateSinks() local
554 if (Instruction *Trunc = InsertTrunc(Arg, Ty)) { in TruncateSinks() local
565 if (Instruction *Trunc = InsertTrunc(Switch->getCondition(), Ty)) { in TruncateSinks() local
585 if (Instruction *Trunc = InsertTrunc(I->getOperand(i), Ty)) { in TruncateSinks() local
616 auto *Trunc = cast<TruncInst>(Src); in Cleanup() local
637 auto *Trunc = cast<TruncInst>(V); in ConvertTruncs() local
675 auto *Trunc = cast<TruncInst>(V); in Mutate() local
H A DCodeGenCommonISel.cpp218 MachineInstr &Trunc, in getSalvageOpsForTrunc()
H A DInterleavedLoadCombinePass.cpp171 Trunc, enumerator
H A DAtomicExpandPass.cpp811 Value *Trunc = Builder.CreateTrunc(Shift, PMV.IntValueType, "extracted"); in extractMaskedValue() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp479 Value *Trunc; in expandRemainderUpTo32Bits() local
525 Value *Trunc; in expandRemainderUpTo64Bits() local
574 Value *Trunc; in expandDivisionUpTo32Bits() local
620 Value *Trunc; in expandDivisionUpTo64Bits() local
H A DSimplifyIndVar.cpp1589 Value *Trunc = in truncateIVUse() local
1869 Value *Trunc = Builder.CreateTrunc(WidePhi, DU.NarrowDef->getType(), "", in widenIVUse() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp72 Value *Trunc = nullptr; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
201 Value *Trunc; in dropRedundantMaskingOfLeftShiftInput() local
938 TruncInst *Trunc = dyn_cast<TruncInst>(U); in foldLShrOverflowBit() local
1130 Value *Trunc = Builder.CreateTrunc(NewShift, Ty, "tr.sh.diff"); in visitShl() local
1482 Value *Trunc = Builder.CreateTrunc(SumShift, Ty, I.getName()); in visitLShr() local
H A DInstCombineCasts.cpp401 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, in foldVecTruncToExtElt()
441 Instruction *InstCombinerImpl::narrowFunnelShift(TruncInst &Trunc) { in narrowFunnelShift()
544 Instruction *InstCombinerImpl::narrowBinOp(TruncInst &Trunc) { in narrowBinOp()
630 static Instruction *shrinkSplatShuffle(TruncInst &Trunc, in shrinkSplatShuffle()
650 static Instruction *shrinkInsertElt(CastInst &Trunc, in shrinkInsertElt()
677 Instruction *InstCombinerImpl::visitTrunc(TruncInst &Trunc) { in visitTrunc()
1222 Value *Trunc = Builder.CreateTrunc(A, DestTy); in visitZExt() local
H A DInstCombineSimplifyDemanded.cpp432 Value *Trunc = Builder.CreateTrunc(X, VTy); in SimplifyDemandedUseBits() local
H A DInstCombinePHI.cpp828 Constant *Trunc = getLosslessUnsignedTrunc(C, NarrowType); in foldPHIArgZextsIntoPHI() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp267 Value *Trunc = Builder.CreateTrunc(ExtractBits, ArgIntTy); in lowerKernelArguments() local
H A DAMDGPULateCodeGenPrepare.cpp257 Instruction *Trunc = cast<Instruction>( in convertFromOptType() local
H A DAMDGPUISelLowering.cpp2080 SDValue Trunc = DAG.getNode(ISD::FTRUNC, DL, MVT::f32, Mul2); in LowerUDIVREM64() local
2358 SDValue Trunc = DAG.getNode(ISD::FTRUNC, SL, VT, Div, Flags); in LowerFREM() local
2372 SDValue Trunc = DAG.getNode(ISD::FTRUNC, SL, MVT::f64, Src); in LowerFCEIL() local
2533 SDValue Trunc = DAG.getNode(ISD::FTRUNC, SL, MVT::f64, Src); in LowerFFLOOR() local
3464 SDValue Trunc = DAG.getNode(ISD::FTRUNC, SL, SrcVT, Src); in LowerFP_TO_INT64() local
4211 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SL, MidVT, in performTruncateCombine() local
H A DAMDGPULegalizerInfo.cpp2461 auto Trunc = B.buildIntrinsicTrunc(S64, Src); in legalizeFceil() local
2486 auto Trunc = B.buildIntrinsicTrunc(Ty, Div, Flags); in legalizeFrem() local
2637 auto Trunc = B.buildIntrinsicTrunc(SrcLT, Src, Flags); in legalizeFPTOI() local
4543 auto Trunc = B.buildIntrinsicTrunc(S32, Mul2); in emitReciprocalU64() local
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCallingConvLower.h47 Trunc, // The value is truncated in the location. enumerator
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp646 MachineInstr *Trunc = BuildMI(MBB, I, I.getDebugLoc(), TII.get(Opcode)) in select() local
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp785 Value *Trunc = IRB.CreateTrunc(Top, OffsetTy); in CreateWideLoad() local
H A DMVEGatherScatterLowering.cpp674 if (TruncInst *Trunc = dyn_cast<TruncInst>(Input)) { in tryCreateMaskedScatterOffset() local
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h211 SmallString<32> Trunc; in CheckDivRem() local
351 SmallString<32> Trunc; in AddSubMulHelper() local
694 SmallString<32> Trunc; in Neg() local
757 SmallString<32> Trunc; in IncDecHelper() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp1136 Value *NumericalStabilitySanitizer::handleTrunc(const FPTruncInst &Trunc, in handleTrunc()
1643 if (auto *Trunc = dyn_cast<FPTruncInst>(&Inst)) in createShadowValueWithOperandsAvailable() local
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp981 const auto *Trunc = cast<TruncInst>(I); in selectTrunc() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1416 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, VT, SDValue(ExtLoad, 0)); in ReplaceLoadWithPromotedLoad() local
4374 SDValue Trunc = DAG.getZExtOrTrunc(LogBase2, DL, ShiftVT); in visitMUL() local
4918 SDValue Trunc = DAG.getZExtOrTrunc(LogBase2, DL, ShiftVT); in visitUDIVLike() local
4932 SDValue Trunc = DAG.getZExtOrTrunc(LogBase2, DL, ADDVT); in visitUDIVLike() local
5160 SDValue Trunc = DAG.getZExtOrTrunc(SRLAmt, DL, ShiftVT); in visitMULHU() local
8943 SDValue Trunc = Store->getValue(); in mergeTruncStores() local
10411 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, in visitSRA() local
10447 SDValue Trunc = DAG.getZExtOrTrunc(Shl.getOperand(0), DL, TruncVT); in visitSRA() local
13122 SDValue Trunc = in CombineExtLoad() local
13194 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(Load), in CombineZExtLogicopShiftLoad() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp1006 VPValue *Trunc = R.getVPSingleValue(); in simplifyRecipe() local
H A DVPlan.h1770 TruncInst *Trunc; variable
1783 TruncInst *Trunc) in VPWidenIntOrFpInductionRecipe()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2357 Value *Trunc = in vlalignb() local
2387 Value *Trunc = in vralignb() local

123