Searched defs:Trunc (Results 1 - 7 of 7) sorted by relevance

/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1912 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); local
1913 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy);
1919 SrcOp, Trunc, Q, MaxRecurse-1))
1971 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); local
1972 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy);
1977 if (Value *V = SimplifyICmpInst(Pred, SrcOp, Trunc, Q, MaxRecurse-1))
2662 return ConstantFoldInstOperands(Instruction::Trunc, Ty, C, Q.TD, Q.TLI);
2861 case Instruction::Trunc:
H A DScalarEvolution.cpp138 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this); local
139 const SCEV *Op = Trunc->getOperand();
141 << *Trunc->getType() << ")";
1535 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(Ops[Idx]); variable
1536 Type *DstType = Trunc->getType();
1537 Type *SrcType = Trunc->getOperand()->getType();
3333 if (const SCEVTruncateExpr *Trunc = dyn_cast<SCEVTruncateExpr>(S)) {
3334 ConstantRange X = getUnsignedRange(Trunc->getOperand());
3335 return setUnsignedRange(Trunc,
3474 if (const SCEVTruncateExpr *Trunc
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp185 case Instruction::Trunc:
396 case Instruction::Trunc:
663 case Instruction::Trunc: // zext(trunc(x)) -> trunc(x) or zext(x)
816 Value *Trunc = Builder->CreateTrunc(A, CI.getType()); local
818 return BinaryOperator::CreateAnd(Trunc,
819 ConstantInt::get(Trunc->getType(),
1004 case Instruction::Trunc: // sext(trunc(x)) -> trunc(x) or sext(x)
/external/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp870 // The cast isn't as wide as the IV, so insert a Trunc.
908 // follow it. Instead insert a Trunc to kill off the original use,
911 Value *Trunc = Builder.CreateTrunc(DU.WideDef, DU.NarrowDef->getType()); local
912 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc);
916 // insert a Trunc after a terminator if there happens to be a critical edge.
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.ml174 | Trunc Constructor in type:Opcode/t
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2005 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, MinVT, PreZExt); local
2007 return DAG.getSetCC(dl, VT, Trunc, C, Cond);
H A DDAGCombiner.cpp157 SDValue Trunc, SDValue ExtLoad, DebugLoc DL,
702 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, VT, SDValue(ExtLoad, 0)); local
707 Trunc.getNode()->dump(&DAG);
710 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 0), Trunc); local
714 AddToWorkList(Trunc.getNode());
3721 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, N0.getDebugLoc(), TruncVT, local
3724 N->getValueType(0), Trunc);
4226 SDValue Trunc, SDValue ExtLoad, DebugLoc DL,
4235 if (SOp == Trunc)
4332 SDValue Trunc local
4225 ExtendSetCCUses(SmallVector<SDNode*, 4> SetCCs, SDValue Trunc, SDValue ExtLoad, DebugLoc DL, ISD::NodeType ExtType) argument
4391 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, local
4628 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, N0.getDebugLoc(), local
4665 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, local
4858 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, N0.getDebugLoc(), local
6567 SDNode *Trunc = 0; local
[all...]

Completed in 164 milliseconds