Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/utils/TableGen/
DSetTheory.cpp95 struct TruncOp : public SetIntBinOp { struct
206 addOperator("trunc", new TruncOp); in SetTheory()
/external/llvm/lib/TableGen/
DSetTheory.cpp101 struct TruncOp : public SetIntBinOp { struct
252 addOperator("trunc", llvm::make_unique<TruncOp>()); in SetTheory()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DSetTheory.cpp112 struct TruncOp : public SetIntBinOp { struct
263 addOperator("trunc", llvm::make_unique<TruncOp>()); in SetTheory()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp4065 unsigned TruncOp; in PromoteNode() local
4067 TruncOp = ISD::BITCAST; in PromoteNode()
4071 TruncOp = ISD::TRUNCATE; in PromoteNode()
4079 Tmp2 = DAG.getNode(TruncOp, dl, OVT, Tmp1); in PromoteNode()
4095 unsigned ExtOp, TruncOp; in PromoteNode() local
4098 TruncOp = ISD::BITCAST; in PromoteNode()
4102 TruncOp = ISD::TRUNCATE; in PromoteNode()
4109 Results.push_back(DAG.getNode(TruncOp, dl, OVT, Tmp1)); in PromoteNode()
4113 unsigned ExtOp, TruncOp; in PromoteNode() local
4117 TruncOp = ISD::BITCAST; in PromoteNode()
[all …]
DDAGCombiner.cpp6602 SDValue TruncOp = N0.getOperand(0); in visitANY_EXTEND() local
6603 if (TruncOp.getValueType() == VT) in visitANY_EXTEND()
6604 return TruncOp; // x iff x size == zext size. in visitANY_EXTEND()
6605 if (TruncOp.getValueType().bitsGT(VT)) in visitANY_EXTEND()
6606 return DAG.getNode(ISD::TRUNCATE, SDLoc(N), VT, TruncOp); in visitANY_EXTEND()
6607 return DAG.getNode(ISD::ANY_EXTEND, SDLoc(N), VT, TruncOp); in visitANY_EXTEND()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp4357 unsigned TruncOp; in PromoteNode() local
4359 TruncOp = ISD::BITCAST; in PromoteNode()
4363 TruncOp = ISD::TRUNCATE; in PromoteNode()
4371 Tmp2 = DAG.getNode(TruncOp, dl, OVT, Tmp1); in PromoteNode()
4392 unsigned ExtOp, TruncOp; in PromoteNode() local
4395 TruncOp = ISD::BITCAST; in PromoteNode()
4412 TruncOp = ISD::TRUNCATE; in PromoteNode()
4419 Results.push_back(DAG.getNode(TruncOp, dl, OVT, Tmp1)); in PromoteNode()
4441 unsigned ExtOp, TruncOp; in PromoteNode() local
4445 TruncOp = ISD::BITCAST; in PromoteNode()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp3883 unsigned ExtOp, TruncOp; in PromoteNode() local
3886 TruncOp = ISD::BITCAST; in PromoteNode()
3890 TruncOp = ISD::TRUNCATE; in PromoteNode()
3897 Results.push_back(DAG.getNode(TruncOp, dl, OVT, Tmp1)); in PromoteNode()
3901 unsigned ExtOp, TruncOp; in PromoteNode() local
3904 TruncOp = ISD::BITCAST; in PromoteNode()
3907 TruncOp = ISD::TRUNCATE; in PromoteNode()
3910 TruncOp = ISD::FP_ROUND; in PromoteNode()
3918 if (TruncOp != ISD::FP_ROUND) in PromoteNode()
3919 Tmp1 = DAG.getNode(TruncOp, dl, Node->getValueType(0), Tmp1); in PromoteNode()
[all …]
DDAGCombiner.cpp4443 SDValue TruncOp = N0.getOperand(0); in visitANY_EXTEND() local
4444 if (TruncOp.getValueType() == VT) in visitANY_EXTEND()
4445 return TruncOp; // x iff x size == zext size. in visitANY_EXTEND()
4446 if (TruncOp.getValueType().bitsGT(VT)) in visitANY_EXTEND()
4447 return DAG.getNode(ISD::TRUNCATE, N->getDebugLoc(), VT, TruncOp); in visitANY_EXTEND()
4448 return DAG.getNode(ISD::ANY_EXTEND, N->getDebugLoc(), 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp458 Value *TruncOp = Trunc.getOperand(0); in foldVecTruncToExtElt() local
460 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType)) in foldVecTruncToExtElt()
465 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
/external/v8/src/compiler/
Dwasm-compiler.cc1609 wasm::WasmOpcode TruncOp(const MachineType& ty) { in TruncOp() function
1678 trunc = Unop(TruncOp(float_ty), input); in BuildIntConvertFloat()