/external/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 509 Value *Trunc; local 521 Trunc = Builder.CreateTrunc(ExtRem, RemTy); 523 Rem->replaceAllUsesWith(Trunc); 559 Value *Trunc; local 571 Trunc = Builder.CreateTrunc(ExtRem, RemTy); 573 Rem->replaceAllUsesWith(Trunc); 610 Value *Trunc; local 622 Trunc = Builder.CreateTrunc(ExtDiv, DivTy); 624 Div->replaceAllUsesWith(Trunc); 660 Value *Trunc; local [all...] |
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 591 SDValue Trunc = CurDAG->getNode(ISD::TRUNCATE, DL, VT, Base); local 592 insertDAGNode(CurDAG, Base.getNode(), Trunc); 593 Base = Trunc;
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 2060 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); local 2061 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); 2067 SrcOp, Trunc, Q, MaxRecurse-1)) 2119 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); local 2120 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); 2125 if (Value *V = SimplifyICmpInst(Pred, SrcOp, Trunc, Q, MaxRecurse-1)) 2873 return ConstantFoldInstOperands(Instruction::Trunc, Ty, C, Q.DL, Q.TLI); 3170 case Instruction::Trunc:
|
H A D | ScalarEvolution.cpp | 144 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(this); local 145 const SCEV *Op = Trunc->getOperand(); 147 << *Trunc->getType() << ")"; 1574 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(Ops[Idx]); variable 1575 Type *DstType = Trunc->getType(); 1576 Type *SrcType = Trunc->getOperand()->getType(); 3475 if (const SCEVTruncateExpr *Trunc = dyn_cast<SCEVTruncateExpr>(S)) { 3476 ConstantRange X = getUnsignedRange(Trunc->getOperand()); 3477 return setUnsignedRange(Trunc, 3616 if (const SCEVTruncateExpr *Trunc [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 194 case Instruction::Trunc: 408 case Instruction::Trunc: 675 case Instruction::Trunc: // zext(trunc(x)) -> trunc(x) or zext(x) 838 Value *Trunc = Builder->CreateTrunc(A, CI.getType()); local 840 return BinaryOperator::CreateAnd(Trunc, 841 ConstantInt::get(Trunc->getType(), 1005 case Instruction::Trunc: // sext(trunc(x)) -> trunc(x) or sext(x)
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 907 Value *Trunc = Builder.CreateTrunc(DU.WideDef, DU.NarrowDef->getType()); local 908 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); 929 Value *Trunc = Builder.CreateTrunc(WidePhi, DU.NarrowDef->getType()); local 930 UsePhi->replaceAllUsesWith(Trunc); 945 // The cast isn't as wide as the IV, so insert a Trunc. 983 // follow it. Instead insert a Trunc to kill off the original use, 989 // insert a Trunc after a terminator if there happens to be a critical edge.
|
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm.ml | 178 | Trunc Constructor in type:Opcode/t
|
/external/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 1795 // SExt or Trunc instructions. 1848 Instruction *Trunc = TPT.createTrunc(SExt, SExtOpnd->getType()); local 1849 Trunc->removeFromParent(); 1851 Trunc->insertAfter(SExtOpnd); 1853 TPT.replaceAllUsesWith(SExtOpnd, Trunc);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 1315 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, MinVT, PreZExt); local 1317 return DAG.getSetCC(dl, VT, Trunc, C, Cond);
|
H A D | DAGCombiner.cpp | 192 SDValue Trunc, SDValue ExtLoad, SDLoc DL, 813 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, VT, SDValue(ExtLoad, 0)); local 818 Trunc.getNode()->dump(&DAG); 821 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 0), Trunc); local 825 AddToWorkList(Trunc.getNode()); 4201 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), TruncVT, local 4204 N->getValueType(0), Trunc); 4918 SDValue Trunc, SDValue ExtLoad, SDLoc DL, 4927 if (SOp == Trunc) 5022 SDValue Trunc local 4917 ExtendSetCCUses(const SmallVectorImpl<SDNode *> &SetCCs, SDValue Trunc, SDValue ExtLoad, SDLoc DL, ISD::NodeType ExtType) argument 5076 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, local 5316 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), local 5350 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, local 5544 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), local 7384 SDNode *Trunc = nullptr; local [all...] |
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUISelLowering.cpp | 1674 SDValue Trunc = DAG.getNode(ISD::FTRUNC, SL, MVT::f64, Src); local 1682 SDValue NeTrunc = DAG.getSetCC(SL, SetCCVT, Src, Trunc, ISD::SETONE); 1686 return DAG.getNode(ISD::FADD, SL, MVT::f64, Trunc, Add); 1784 SDValue Trunc = DAG.getNode(ISD::FTRUNC, SL, MVT::f64, Src); local 1792 SDValue NeTrunc = DAG.getSetCC(SL, SetCCVT, Src, Trunc, ISD::SETONE); 1796 return DAG.getNode(ISD::FADD, SL, MVT::f64, Trunc, Add);
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.cpp | 2186 SDValue Trunc = DAG.getNode(MipsISD::TruncIntFP, SDLoc(Op), FPTy, local 2188 return DAG.getNode(ISD::BITCAST, SDLoc(Op), Op.getValueType(), Trunc);
|
/external/deqp/modules/glshared/ |
H A D | glsBuiltinPrecisionTests.cpp | 3070 class Trunc : public PreciseFunc1 class in namespace:deqp::gls::BuiltinPrecisionTests::Functions 3073 Trunc (void) : PreciseFunc1("trunc", deTrunc) {} function in class:deqp::gls::BuiltinPrecisionTests::Functions::Trunc 5112 addScalarFactory<Trunc>(*funcs);
|