forked from OSchip/llvm-project
function names start with a lowercase letter; NFC
llvm-svn: 262347
This commit is contained in:
parent
e309e1415d
commit
9fea531fec
|
@ -21653,7 +21653,7 @@ X86TargetLowering::isVectorClearMaskLegal(const SmallVectorImpl<int> &Mask,
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
/// Utility function to emit xbegin specifying the start of an RTM region.
|
||||
static MachineBasicBlock *EmitXBegin(MachineInstr *MI, MachineBasicBlock *MBB,
|
||||
static MachineBasicBlock *emitXBegin(MachineInstr *MI, MachineBasicBlock *MBB,
|
||||
const TargetInstrInfo *TII) {
|
||||
DebugLoc DL = MI->getDebugLoc();
|
||||
|
||||
|
@ -21710,7 +21710,7 @@ static MachineBasicBlock *EmitXBegin(MachineInstr *MI, MachineBasicBlock *MBB,
|
|||
// FIXME: When we get size specific XMM0 registers, i.e. XMM0_V16I8
|
||||
// or XMM0_V32I8 in AVX all of this code can be replaced with that
|
||||
// in the .td file.
|
||||
static MachineBasicBlock *EmitPCMPSTRM(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
static MachineBasicBlock *emitPCMPSTRM(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
const TargetInstrInfo *TII) {
|
||||
unsigned Opc;
|
||||
switch (MI->getOpcode()) {
|
||||
|
@ -21747,7 +21747,7 @@ static MachineBasicBlock *EmitPCMPSTRM(MachineInstr *MI, MachineBasicBlock *BB,
|
|||
|
||||
// FIXME: Custom handling because TableGen doesn't support multiple implicit
|
||||
// defs in an instruction pattern
|
||||
static MachineBasicBlock *EmitPCMPSTRI(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
static MachineBasicBlock *emitPCMPSTRI(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
const TargetInstrInfo *TII) {
|
||||
unsigned Opc;
|
||||
switch (MI->getOpcode()) {
|
||||
|
@ -21782,7 +21782,7 @@ static MachineBasicBlock *EmitPCMPSTRI(MachineInstr *MI, MachineBasicBlock *BB,
|
|||
return BB;
|
||||
}
|
||||
|
||||
static MachineBasicBlock *EmitWRPKRU(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
static MachineBasicBlock *emitWRPKRU(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
const X86Subtarget &Subtarget) {
|
||||
DebugLoc dl = MI->getDebugLoc();
|
||||
const TargetInstrInfo *TII = Subtarget.getInstrInfo();
|
||||
|
@ -21805,7 +21805,7 @@ static MachineBasicBlock *EmitWRPKRU(MachineInstr *MI, MachineBasicBlock *BB,
|
|||
return BB;
|
||||
}
|
||||
|
||||
static MachineBasicBlock *EmitRDPKRU(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
static MachineBasicBlock *emitRDPKRU(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
const X86Subtarget &Subtarget) {
|
||||
DebugLoc dl = MI->getDebugLoc();
|
||||
const TargetInstrInfo *TII = Subtarget.getInstrInfo();
|
||||
|
@ -21823,7 +21823,7 @@ static MachineBasicBlock *EmitRDPKRU(MachineInstr *MI, MachineBasicBlock *BB,
|
|||
return BB;
|
||||
}
|
||||
|
||||
static MachineBasicBlock *EmitMonitor(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
static MachineBasicBlock *emitMonitor(MachineInstr *MI, MachineBasicBlock *BB,
|
||||
const X86Subtarget &Subtarget) {
|
||||
DebugLoc dl = MI->getDebugLoc();
|
||||
const TargetInstrInfo *TII = Subtarget.getInstrInfo();
|
||||
|
@ -23337,7 +23337,7 @@ X86TargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
|||
case X86::VPCMPESTRM128MEM:
|
||||
assert(Subtarget.hasSSE42() &&
|
||||
"Target must have SSE4.2 or AVX features enabled");
|
||||
return EmitPCMPSTRM(MI, BB, Subtarget.getInstrInfo());
|
||||
return emitPCMPSTRM(MI, BB, Subtarget.getInstrInfo());
|
||||
|
||||
// String/text processing lowering.
|
||||
case X86::PCMPISTRIREG:
|
||||
|
@ -23350,19 +23350,19 @@ X86TargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
|||
case X86::VPCMPESTRIMEM:
|
||||
assert(Subtarget.hasSSE42() &&
|
||||
"Target must have SSE4.2 or AVX features enabled");
|
||||
return EmitPCMPSTRI(MI, BB, Subtarget.getInstrInfo());
|
||||
return emitPCMPSTRI(MI, BB, Subtarget.getInstrInfo());
|
||||
|
||||
// Thread synchronization.
|
||||
case X86::MONITOR:
|
||||
return EmitMonitor(MI, BB, Subtarget);
|
||||
return emitMonitor(MI, BB, Subtarget);
|
||||
// PKU feature
|
||||
case X86::WRPKRU:
|
||||
return EmitWRPKRU(MI, BB, Subtarget);
|
||||
return emitWRPKRU(MI, BB, Subtarget);
|
||||
case X86::RDPKRU:
|
||||
return EmitRDPKRU(MI, BB, Subtarget);
|
||||
return emitRDPKRU(MI, BB, Subtarget);
|
||||
// xbegin
|
||||
case X86::XBEGIN:
|
||||
return EmitXBegin(MI, BB, Subtarget.getInstrInfo());
|
||||
return emitXBegin(MI, BB, Subtarget.getInstrInfo());
|
||||
|
||||
case X86::VASTART_SAVE_XMM_REGS:
|
||||
return EmitVAStartSaveXMMRegsWithCustomInserter(MI, BB);
|
||||
|
|
Loading…
Reference in New Issue