Searched defs:TruncOp (Results 1 - 2 of 2) sorted by relevance

/external/llvm/utils/TableGen/
H A DSetTheory.cpp95 struct TruncOp : public SetIntBinOp { struct in namespace:__anon7998
228 addOperator("trunc", new TruncOp);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp4759 SDValue TruncOp = N0.getOperand(0); local
4760 if (TruncOp.getValueType() == VT)
4761 return TruncOp; // x iff x size == zext size.
4762 if (TruncOp.getValueType().bitsGT(VT))
4763 return DAG.getNode(ISD::TRUNCATE, N->getDebugLoc(), VT, TruncOp);
4764 return DAG.getNode(ISD::ANY_EXTEND, N->getDebugLoc(), VT, TruncOp);

Completed in 95 milliseconds