Home
last modified time | relevance | path

Searched refs:TruncOp (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/TableGen/
DSetTheory.cpp101 struct TruncOp : public SetIntBinOp { struct
252 addOperator("trunc", new TruncOp); in SetTheory()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp4093 unsigned TruncOp; in PromoteNode() local
4095 TruncOp = ISD::BITCAST; in PromoteNode()
4099 TruncOp = ISD::TRUNCATE; in PromoteNode()
4107 Tmp2 = DAG.getNode(TruncOp, dl, OVT, Tmp1); in PromoteNode()
4123 unsigned ExtOp, TruncOp; in PromoteNode() local
4126 TruncOp = ISD::BITCAST; in PromoteNode()
4130 TruncOp = ISD::TRUNCATE; in PromoteNode()
4137 Results.push_back(DAG.getNode(TruncOp, dl, OVT, Tmp1)); in PromoteNode()
4141 unsigned ExtOp, TruncOp; in PromoteNode() local
4145 TruncOp = ISD::BITCAST; in PromoteNode()
[all …]
DDAGCombiner.cpp6099 SDValue TruncOp = N0.getOperand(0); in visitANY_EXTEND() local
6100 if (TruncOp.getValueType() == VT) in visitANY_EXTEND()
6101 return TruncOp; // x iff x size == zext size. in visitANY_EXTEND()
6102 if (TruncOp.getValueType().bitsGT(VT)) in visitANY_EXTEND()
6103 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, TruncOp); in visitANY_EXTEND()
6104 return DAG.getNode(ISD::ANY_EXTEND, SDLoc(N), VT, TruncOp); in visitANY_EXTEND()