Searched refs:Trunc (Results 26 - 50 of 92) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCFLGraph.h529 case Instruction::Trunc:
H A DObjCARCInstKind.cpp272 case Instruction::Trunc:
H A DInstructionSimplify.cpp837 if (Value *W = SimplifyCastInst(Instruction::Trunc, V, Op0->getType(),
3326 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); local
3327 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy);
3333 SrcOp, Trunc, Q, MaxRecurse-1))
3385 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); local
3386 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy);
3391 if (Value *V = SimplifyICmpInst(Pred, SrcOp, Trunc, Q, MaxRecurse-1))
4981 if (LoadedCE->getOpcode() == Instruction::Trunc) {
H A DScalarEvolution.cpp211 cl::desc("Maximum depth of recursive SExt/ZExt/Trunc"),
251 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this); local
252 const SCEV *Op = Trunc->getOperand();
254 << *Trunc->getType() << ")";
4592 /// Op == (SExt ix (Trunc iy (%SymbolicPHI) to ix) to iy)
4593 /// Op == (ZExt ix (Trunc iy (%SymbolicPHI) to ix) to iy)
4622 const SCEVTruncateExpr *Trunc =
4625 if (!Trunc)
4627 const SCEV *X = Trunc->getOperand();
4631 return Trunc
[all...]
H A DTargetTransformInfo.cpp1232 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp586 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1378 Value *Trunc = Builder.CreateTrunc(DU.WideDef, DU.NarrowDef->getType()); local
1379 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc);
1594 Value *Trunc = Builder.CreateTrunc(WidePhi, DU.NarrowDef->getType()); local
1595 UsePhi->replaceAllUsesWith(Trunc);
1621 // The cast isn't as wide as the IV, so insert a Trunc.
1676 // follow it. Instead insert a Trunc to kill off the original use,
1682 // insert a Trunc after a terminator if there happens to be a critical edge.
H A DGVNSink.cpp466 case Instruction::Trunc:
H A DLoopRerollPass.cpp754 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp1209 int16_t Trunc = static_cast<int16_t>(Literal);
1210 return AMDGPU::isInlinableLiteral16(Trunc, HasInv2Pi);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp585 case Instruction::Trunc:
1155 case Instruction::Trunc: {
1172 LLDB_LOGF(log, "Interpreted a Trunc");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1104 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, VT, SDValue(ExtLoad, 0)); local
1107 Trunc.getNode()->dump(&DAG); dbgs() << '\n');
1109 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 0), Trunc); local
1112 AddToWorklist(Trunc.getNode());
3508 SDValue Trunc = DAG.getZExtOrTrunc(LogBase2, DL, ShiftVT); local
3509 return DAG.getNode(ISD::SHL, DL, VT, N0, Trunc);
3954 SDValue Trunc = DAG.getZExtOrTrunc(LogBase2, DL, ShiftVT); local
3955 AddToWorklist(Trunc.getNode());
3956 return DAG.getNode(ISD::SRL, DL, VT, N0, Trunc);
3968 SDValue Trunc local
4148 SDValue Trunc = DAG.getZExtOrTrunc(SRLAmt, DL, ShiftVT); local
4759 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SL, HalfVT, local
6631 SDValue Trunc = Store->getValue(); local
7810 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, local
7840 SDValue Trunc = DAG.getZExtOrTrunc(Shl.getOperand(0), DL, TruncVT); local
9342 SDValue Trunc = local
9416 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(Load), local
9538 SDValue Trunc = local
9729 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(LN00), local
10054 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(LN00), local
10229 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), local
10831 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SL, VT, N0.getOperand(0)); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1298 case Instruction::Trunc:
1639 case Instruction::Trunc:
1719 (SrcBits > DstBits ? Instruction::Trunc :
1742 assert(C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer");
1743 assert(Ty->isIntOrIntVectorTy() && "Trunc produces only integral");
1745 "SrcTy must be larger than DestTy for Trunc!");
1747 return getFoldedCast(Instruction::Trunc, C, Ty, OnlyIfReduced);
3058 case Instruction::Trunc:
H A DInstruction.cpp340 case Trunc: return "trunc";
H A DConstantFold.cpp706 case Instruction::Trunc: {
1655 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1329 /// Matches Trunc.
1331 inline CastClass_match<OpTy, Instruction::Trunc> m_Trunc(const OpTy &Op) {
1332 return CastClass_match<OpTy, Instruction::Trunc>(Op);
1336 inline match_combine_or<CastClass_match<OpTy, Instruction::Trunc>, OpTy>
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp642 SDValue Trunc = CurDAG->getNode(ISD::TRUNCATE, DL, VT, Base); local
643 insertDAGNode(CurDAG, Base.getNode(), Trunc);
644 Base = Trunc;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1169 case Instruction::Trunc:
1259 case Instruction::Trunc:
1335 case Instruction::Trunc:
H A DInstCombineCompares.cpp1529 TruncInst *Trunc,
1532 Value *X = Trunc->getOperand(0);
1541 if (Cmp.isEquality() && Trunc->hasOneUse()) {
1544 unsigned DstBits = Trunc->getType()->getScalarSizeInBits(),
1868 Value *Trunc = Builder.CreateTrunc(X, NTy); local
1871 return new ICmpInst(NewPred, Trunc, Constant::getNullValue(NTy));
4638 if (TruncInst *Trunc = dyn_cast<TruncInst>(ZextArg))
4639 if (Trunc->getType()->getPrimitiveSizeInBits() == MulWidth)
1528 foldICmpTruncConstant(ICmpInst &Cmp, TruncInst *Trunc, const APInt &C) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h95 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp834 case Instruction::Trunc:
H A DSIInstrInfo.cpp2859 int32_t Trunc = static_cast<int32_t>(Imm);
2860 return AMDGPU::isInlinableLiteral32(Trunc, ST.hasInv2PiInlineImm());
2879 int16_t Trunc = static_cast<int16_t>(Imm);
2881 AMDGPU::isInlinableLiteral16(Trunc, ST.hasInv2PiInlineImm());
2892 uint32_t Trunc = static_cast<uint32_t>(Imm);
2893 return AMDGPU::isInlinableLiteralV216(Trunc, ST.hasInv2PiInlineImm());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp854 INSTKEYWORD(trunc, Trunc);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2740 case Instruction::Trunc:
3353 case Instruction::Trunc:
4190 case Instruction::Trunc:
4605 auto *Trunc = Builder.CreateTrunc(VectorRoot, VecTy);
4606 VectorizableTree[0]->VectorizedValue = Trunc;
5350 case Instruction::Trunc:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp126 case Instruction::Trunc:

Completed in 707 milliseconds

1234