/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...] |
H A D | BypassSlowDivision.cpp | 122 Value *ShortDivisorV = FastBuilder.CreateCast(Instruction::Trunc, Divisor, 124 Value *ShortDividendV = FastBuilder.CreateCast(Instruction::Trunc, Dividend,
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
H A D | SDL_qsort.c | 186 #define Recurse(Trunc) \ 188 if (l<Trunc) { \ 189 if (r>=Trunc) doRight \ 193 else if (r>=Trunc) { pushRight; doLeft }\
|
/external/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 107 case Instruction::Trunc:
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCUtil.cpp | 223 case Instruction::SExt: case Instruction::ZExt: case Instruction::Trunc:
|
/external/llvm/lib/CodeGen/ |
H A D | BasicTargetTransformInfo.cpp | 372 if (Opcode == Instruction::BitCast || Opcode == Instruction::Trunc) 376 if (Opcode == Instruction::Trunc &&
|
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/IR/ |
H A D | Instructions.cpp | 2062 case Instruction::Trunc: 2101 case Instruction::Trunc: 2198 { 1, 0, 0,99,99, 0, 0,99,99,99, 0, 3, 0}, // Trunc -+ 2380 case Trunc: return new TruncInst (S, Ty, Name, InsertBefore); 2402 case Trunc: return new TruncInst (S, Ty, Name, InsertAtEnd); 2456 return Create(Instruction::Trunc, S, Ty, Name, InsertBefore); 2464 return Create(Instruction::Trunc, S, Ty, Name, InsertAtEnd); 2519 (SrcBits > DstBits ? Instruction::Trunc : 2533 (SrcBits > DstBits ? Instruction::Trunc : 2703 return Trunc; // in [all...] |
H A D | Instruction.cpp | 230 case Trunc: return "trunc";
|
H A D | Constants.cpp | 1155 case Instruction::Trunc: 1502 case Instruction::Trunc: return getTrunc(C, Ty); 1570 (SrcBits > DstBits ? Instruction::Trunc : 1593 assert(C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer"); 1594 assert(Ty->isIntOrIntVectorTy() && "Trunc produces only integral"); 1596 "SrcTy must be larger than DestTy for Trunc!"); 1598 return getFoldedCast(Instruction::Trunc, C, Ty); 2834 case Instruction::Trunc:
|
/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)
|
H A D | InstCombineVectorOps.cpp | 629 case Instruction::Trunc: 714 case Instruction::Trunc: 791 case Instruction::Trunc:
|
/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 | CostModel.cpp | 452 case Instruction::Trunc:
|
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...] |
H A D | TargetTransformInfo.cpp | 313 case Instruction::Trunc:
|
H A D | LazyValueInfo.cpp | 747 case Instruction::Trunc:
|
/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.
|
H A D | LoopRotation.cpp | 222 case Instruction::Trunc:
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
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/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 224 case Instruction::Trunc:
|
/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/CppBackend/ |
H A D | CPPBackend.cpp | 844 case Instruction::Trunc: Out << "Instruction::Trunc"; break; 1395 case Instruction::Trunc: 1410 case Instruction::Trunc: Out << "TruncInst"; break;
|
/external/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 767 inline CastClass_match<OpTy, Instruction::Trunc> 769 return CastClass_match<OpTy, Instruction::Trunc>(Op);
|