mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-15 07:18:33 +00:00
[AArch64] Give function a more appropriate name.
llvm-svn: 269335
This commit is contained in:
parent
98de80529a
commit
179480a4ea
@ -1984,7 +1984,7 @@ static bool isBitfieldPositioningOp(SelectionDAG *CurDAG, SDValue Op,
|
|||||||
// if yes, given reference arguments will be update so that one can replace
|
// if yes, given reference arguments will be update so that one can replace
|
||||||
// the OR instruction with:
|
// the OR instruction with:
|
||||||
// f = Opc Opd0, Opd1, LSB, MSB ; where Opc is a BFM, LSB = imm, and MSB = imm2
|
// f = Opc Opd0, Opd1, LSB, MSB ; where Opc is a BFM, LSB = imm, and MSB = imm2
|
||||||
static SDNode *isBitfieldInsertOpFromOr(SDNode *N, const APInt &UsefulBits,
|
static SDNode *selectBitfieldInsertOpFromOr(SDNode *N, const APInt &UsefulBits,
|
||||||
SelectionDAG *CurDAG) {
|
SelectionDAG *CurDAG) {
|
||||||
assert(N->getOpcode() == ISD::OR && "Expect a OR operation");
|
assert(N->getOpcode() == ISD::OR && "Expect a OR operation");
|
||||||
|
|
||||||
@ -2098,7 +2098,7 @@ SDNode *AArch64DAGToDAGISel::SelectBitfieldInsertOp(SDNode *N) {
|
|||||||
return CurDAG->SelectNodeTo(N, TargetOpcode::IMPLICIT_DEF,
|
return CurDAG->SelectNodeTo(N, TargetOpcode::IMPLICIT_DEF,
|
||||||
N->getValueType(0));
|
N->getValueType(0));
|
||||||
|
|
||||||
return isBitfieldInsertOpFromOr(N, NUsefulBits, CurDAG);
|
return selectBitfieldInsertOpFromOr(N, NUsefulBits, CurDAG);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// SelectBitfieldInsertInZeroOp - Match a UBFIZ instruction that is the
|
/// SelectBitfieldInsertInZeroOp - Match a UBFIZ instruction that is the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user