Home
last modified time | relevance | path

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

/external/llvm/lib/TableGen/
DSetTheory.cpp101 struct TruncOp : public SetIntBinOp { struct
252 addOperator("trunc", llvm::make_unique<TruncOp>()); in SetTheory()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp4282 unsigned TruncOp; in PromoteNode() local
4284 TruncOp = ISD::BITCAST; in PromoteNode()
4288 TruncOp = ISD::TRUNCATE; in PromoteNode()
4296 Tmp2 = DAG.getNode(TruncOp, dl, OVT, Tmp1); in PromoteNode()
4312 unsigned ExtOp, TruncOp; in PromoteNode() local
4315 TruncOp = ISD::BITCAST; in PromoteNode()
4319 TruncOp = ISD::TRUNCATE; in PromoteNode()
4326 Results.push_back(DAG.getNode(TruncOp, dl, OVT, Tmp1)); in PromoteNode()
4330 unsigned ExtOp, TruncOp; in PromoteNode() local
4334 TruncOp = ISD::BITCAST; in PromoteNode()
[all …]
DDAGCombiner.cpp6555 SDValue TruncOp = N0.getOperand(0); in visitANY_EXTEND() local
6556 if (TruncOp.getValueType() == VT) in visitANY_EXTEND()
6557 return TruncOp; // x iff x size == zext size. in visitANY_EXTEND()
6558 if (TruncOp.getValueType().bitsGT(VT)) in visitANY_EXTEND()
6559 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, TruncOp); in visitANY_EXTEND()
6560 return DAG.getNode(ISD::ANY_EXTEND, SDLoc(N), VT, TruncOp); in visitANY_EXTEND()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp441 Value *TruncOp = Trunc.getOperand(0); in foldVecTruncToExtElt() local
443 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType)) in foldVecTruncToExtElt()
448 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()