mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-03 10:19:25 +00:00
Make some helper methods static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b2aba09e2
commit
f84b7500ce
@ -6173,7 +6173,7 @@ SDValue RewriteAsNarrowerShuffle(ShuffleVectorSDNode *SVOp,
|
|||||||
|
|
||||||
/// getVZextMovL - Return a zero-extending vector move low node.
|
/// getVZextMovL - Return a zero-extending vector move low node.
|
||||||
///
|
///
|
||||||
static SDValue getVZextMovL(EVT VT, EVT OpVT,
|
static SDValue getVZextMovL(MVT VT, EVT OpVT,
|
||||||
SDValue SrcOp, SelectionDAG &DAG,
|
SDValue SrcOp, SelectionDAG &DAG,
|
||||||
const X86Subtarget *Subtarget, DebugLoc dl) {
|
const X86Subtarget *Subtarget, DebugLoc dl) {
|
||||||
if (VT == MVT::v2f64 || VT == MVT::v4f32) {
|
if (VT == MVT::v2f64 || VT == MVT::v4f32) {
|
||||||
@ -7036,9 +7036,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const {
|
|||||||
return SDValue();
|
return SDValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
SDValue
|
static SDValue LowerEXTRACT_VECTOR_ELT_SSE4(SDValue Op, SelectionDAG &DAG) {
|
||||||
X86TargetLowering::LowerEXTRACT_VECTOR_ELT_SSE4(SDValue Op,
|
|
||||||
SelectionDAG &DAG) const {
|
|
||||||
MVT VT = Op.getValueType().getSimpleVT();
|
MVT VT = Op.getValueType().getSimpleVT();
|
||||||
DebugLoc dl = Op.getDebugLoc();
|
DebugLoc dl = Op.getDebugLoc();
|
||||||
|
|
||||||
@ -7191,9 +7189,7 @@ X86TargetLowering::LowerEXTRACT_VECTOR_ELT(SDValue Op,
|
|||||||
return SDValue();
|
return SDValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
SDValue
|
static SDValue LowerINSERT_VECTOR_ELT_SSE4(SDValue Op, SelectionDAG &DAG) {
|
||||||
X86TargetLowering::LowerINSERT_VECTOR_ELT_SSE4(SDValue Op,
|
|
||||||
SelectionDAG &DAG) const {
|
|
||||||
MVT VT = Op.getValueType().getSimpleVT();
|
MVT VT = Op.getValueType().getSimpleVT();
|
||||||
MVT EltVT = VT.getVectorElementType();
|
MVT EltVT = VT.getVectorElementType();
|
||||||
DebugLoc dl = Op.getDebugLoc();
|
DebugLoc dl = Op.getDebugLoc();
|
||||||
|
@ -794,9 +794,7 @@ namespace llvm {
|
|||||||
SDValue LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const;
|
SDValue LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const;
|
||||||
SDValue LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const;
|
SDValue LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const;
|
||||||
SDValue LowerEXTRACT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
|
SDValue LowerEXTRACT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
|
||||||
SDValue LowerEXTRACT_VECTOR_ELT_SSE4(SDValue Op, SelectionDAG &DAG) const;
|
|
||||||
SDValue LowerINSERT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
|
SDValue LowerINSERT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
|
||||||
SDValue LowerINSERT_VECTOR_ELT_SSE4(SDValue Op, SelectionDAG &DAG) const;
|
|
||||||
SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) const;
|
SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) const;
|
||||||
SDValue LowerBlockAddress(SDValue Op, SelectionDAG &DAG) const;
|
SDValue LowerBlockAddress(SDValue Op, SelectionDAG &DAG) const;
|
||||||
SDValue LowerGlobalAddress(const GlobalValue *GV, DebugLoc dl,
|
SDValue LowerGlobalAddress(const GlobalValue *GV, DebugLoc dl,
|
||||||
|
Loading…
Reference in New Issue
Block a user