Searched refs:Trunc (Results 1 - 25 of 44) sorted by relevance

12

/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp121 Value *ShortDivisorV = FastBuilder.CreateCast(Instruction::Trunc, Divisor,
123 Value *ShortDividendV = FastBuilder.CreateCast(Instruction::Trunc, Dividend,
/macosx-10.10/llvmCore-3425.0.34/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)
H A DInstCombineSimplifyDemanded.cpp382 case Instruction::Trunc: {
/macosx-10.10/llvmCore-3425.0.34/unittests/VMCore/
H A DInstructionsTest.cpp133 EXPECT_EQ(CastInst::Trunc, CastInst::getCastOpcode(c64, true, V8x8Ty, true));
/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/
H A DInstructions.cpp2040 case Instruction::Trunc:
2079 case Instruction::Trunc:
2153 { 1, 0, 0,99,99, 0, 0,99,99,99, 0, 3 }, // Trunc -+
2282 case Trunc: return new TruncInst (S, Ty, Name, InsertBefore);
2303 case Trunc: return new TruncInst (S, Ty, Name, InsertAtEnd);
2356 return Create(Instruction::Trunc, S, Ty, Name, InsertBefore);
2364 return Create(Instruction::Trunc, S, Ty, Name, InsertAtEnd);
2401 (SrcBits > DstBits ? Instruction::Trunc :
2415 (SrcBits > DstBits ? Instruction::Trunc :
2544 return Trunc; // in
[all...]
H A DInstruction.cpp136 case Trunc: return "trunc";
H A DConstants.cpp1060 case Instruction::Trunc:
1371 case Instruction::Trunc: return getTrunc(C, Ty);
1421 (SrcBits > DstBits ? Instruction::Trunc :
1444 assert(C->getType()->isIntOrIntVectorTy() && "Trunc operand must be integer");
1445 assert(Ty->isIntOrIntVectorTy() && "Trunc produces only integral");
1447 "SrcTy must be larger than DestTy for Trunc!");
1449 return getFoldedCast(Instruction::Trunc, C, Ty);
H A DConstantFold.cpp670 case Instruction::Trunc: {
1433 case Instruction::Trunc:
/macosx-10.10/llvmCore-3425.0.34/lib/Analysis/
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...]
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 DValueTracking.cpp421 case Instruction::Trunc: {
1143 case Instruction::Trunc:
H A DLazyValueInfo.cpp742 case Instruction::Trunc:
H A DConstantFolding.cpp941 case Instruction::Trunc:
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DLoopRotation.cpp192 case Instruction::Trunc:
H A DIndVarSimplify.cpp872 // The cast isn't as wide as the IV, so insert a Trunc.
910 // follow it. Instead insert a Trunc to kill off the original use,
913 Value *Trunc = Builder.CreateTrunc(DU.WideDef, DU.NarrowDef->getType()); local
914 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc);
918 // insert a Trunc after a terminator if there happens to be a critical edge.
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Support/
H A DPatternMatch.h596 inline CastClass_match<OpTy, Instruction::Trunc>
598 return CastClass_match<OpTy, Instruction::Trunc>(Op);
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp157 SDValue Trunc, SDValue ExtLoad, DebugLoc DL,
708 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, VT, SDValue(ExtLoad, 0)); local
713 Trunc.getNode()->dump(&DAG);
716 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 0), Trunc); local
720 AddToWorkList(Trunc.getNode());
3720 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, N0.getDebugLoc(), TruncVT, local
3723 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
4626 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, N0.getDebugLoc(), local
4663 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, local
4856 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, N0.getDebugLoc(), local
6551 SDNode *Trunc = 0; local
[all...]
H A DFastISel.cpp1024 case Instruction::Trunc:
/macosx-10.10/llvmCore-3425.0.34/lib/Target/CppBackend/
H A DCPPBackend.cpp823 case Instruction::Trunc: Out << "Instruction::Trunc"; break;
1368 case Instruction::Trunc:
1383 case Instruction::Trunc: Out << "TruncInst"; break;
/macosx-10.10/vim-55/runtime/syntax/
H A Dpascal.vim138 syn keyword pascalFunction Chr Ord Round Trunc
/macosx-10.10/llvmCore-3425.0.34/lib/AsmParser/
H A DLLLexer.cpp614 INSTKEYWORD(trunc, Trunc);
/macosx-10.10/llvmCore-3425.0.34/unittests/Support/
H A DConstantRangeTest.cpp170 TEST_F(ConstantRangeTest, Trunc) {
/macosx-10.10/llvmCore-3425.0.34/lib/ExecutionEngine/
H A DExecutionEngine.cpp566 case Instruction::Trunc: {
/macosx-10.10/vim-55/src/
H A Dbuffer.c3413 Trunc enumerator in enum:stl_item::__anon14188
3496 item[curitem].type = Trunc;
4049 if (item[l].type == Trunc)
/macosx-10.10/llvmCore-3425.0.34/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1191 case Instruction::Trunc:

Completed in 447 milliseconds

12