|
@@ -781,7 +781,7 @@ bool FastISel::addStackMapLiveVars(SmallVectorImpl<MachineOperand> &Ops,
|
|
|
unsigned Reg = getRegForValue(Val);
|
|
|
if (!Reg)
|
|
|
return false;
|
|
|
- Ops.push_back(MachineOperand::CreateReg(Reg, /*IsDef=*/false));
|
|
|
+ Ops.push_back(MachineOperand::CreateReg(Reg, /*isDef=*/false));
|
|
|
}
|
|
|
}
|
|
|
return true;
|
|
@@ -830,8 +830,8 @@ bool FastISel::selectStackmap(const CallInst *I) {
|
|
|
const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC);
|
|
|
for (unsigned i = 0; ScratchRegs[i]; ++i)
|
|
|
Ops.push_back(MachineOperand::CreateReg(
|
|
|
- ScratchRegs[i], /*IsDef=*/true, /*IsImp=*/true, /*IsKill=*/false,
|
|
|
- /*IsDead=*/false, /*IsUndef=*/false, /*IsEarlyClobber=*/true));
|
|
|
+ ScratchRegs[i], /*isDef=*/true, /*isImp=*/true, /*isKill=*/false,
|
|
|
+ /*isDead=*/false, /*isUndef=*/false, /*isEarlyClobber=*/true));
|
|
|
|
|
|
// Issue CALLSEQ_START
|
|
|
unsigned AdjStackDown = TII.getCallFrameSetupOpcode();
|
|
@@ -941,7 +941,7 @@ bool FastISel::selectPatchpoint(const CallInst *I) {
|
|
|
assert(CLI.NumResultRegs == 0 && "Unexpected result register.");
|
|
|
CLI.ResultReg = createResultReg(TLI.getRegClassFor(MVT::i64));
|
|
|
CLI.NumResultRegs = 1;
|
|
|
- Ops.push_back(MachineOperand::CreateReg(CLI.ResultReg, /*IsDef=*/true));
|
|
|
+ Ops.push_back(MachineOperand::CreateReg(CLI.ResultReg, /*isDef=*/true));
|
|
|
}
|
|
|
|
|
|
// Add the <id> and <numBytes> constants.
|
|
@@ -990,13 +990,13 @@ bool FastISel::selectPatchpoint(const CallInst *I) {
|
|
|
unsigned Reg = getRegForValue(I->getArgOperand(i));
|
|
|
if (!Reg)
|
|
|
return false;
|
|
|
- Ops.push_back(MachineOperand::CreateReg(Reg, /*IsDef=*/false));
|
|
|
+ Ops.push_back(MachineOperand::CreateReg(Reg, /*isDef=*/false));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// Push the arguments from the call instruction.
|
|
|
for (auto Reg : CLI.OutRegs)
|
|
|
- Ops.push_back(MachineOperand::CreateReg(Reg, /*IsDef=*/false));
|
|
|
+ Ops.push_back(MachineOperand::CreateReg(Reg, /*isDef=*/false));
|
|
|
|
|
|
// Push live variables for the stack map.
|
|
|
if (!addStackMapLiveVars(Ops, I, NumMetaOpers + NumArgs))
|
|
@@ -1010,13 +1010,13 @@ bool FastISel::selectPatchpoint(const CallInst *I) {
|
|
|
const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC);
|
|
|
for (unsigned i = 0; ScratchRegs[i]; ++i)
|
|
|
Ops.push_back(MachineOperand::CreateReg(
|
|
|
- ScratchRegs[i], /*IsDef=*/true, /*IsImp=*/true, /*IsKill=*/false,
|
|
|
- /*IsDead=*/false, /*IsUndef=*/false, /*IsEarlyClobber=*/true));
|
|
|
+ ScratchRegs[i], /*isDef=*/true, /*isImp=*/true, /*isKill=*/false,
|
|
|
+ /*isDead=*/false, /*isUndef=*/false, /*isEarlyClobber=*/true));
|
|
|
|
|
|
// Add implicit defs (return values).
|
|
|
for (auto Reg : CLI.InRegs)
|
|
|
- Ops.push_back(MachineOperand::CreateReg(Reg, /*IsDef=*/true,
|
|
|
- /*IsImpl=*/true));
|
|
|
+ Ops.push_back(MachineOperand::CreateReg(Reg, /*isDef=*/true,
|
|
|
+ /*isImp=*/true));
|
|
|
|
|
|
// Insert the patchpoint instruction before the call generated by the target.
|
|
|
MachineInstrBuilder MIB = BuildMI(*FuncInfo.MBB, CLI.Call, DbgLoc,
|
|
@@ -1044,9 +1044,9 @@ bool FastISel::selectXRayCustomEvent(const CallInst *I) {
|
|
|
return true; // don't do anything to this instruction.
|
|
|
SmallVector<MachineOperand, 8> Ops;
|
|
|
Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(0)),
|
|
|
- /*IsDef=*/false));
|
|
|
+ /*isDef=*/false));
|
|
|
Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(1)),
|
|
|
- /*IsDef=*/false));
|
|
|
+ /*isDef=*/false));
|
|
|
MachineInstrBuilder MIB =
|
|
|
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
|
|
|
TII.get(TargetOpcode::PATCHABLE_EVENT_CALL));
|
|
@@ -1063,11 +1063,11 @@ bool FastISel::selectXRayTypedEvent(const CallInst *I) {
|
|
|
return true; // don't do anything to this instruction.
|
|
|
SmallVector<MachineOperand, 8> Ops;
|
|
|
Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(0)),
|
|
|
- /*IsDef=*/false));
|
|
|
+ /*isDef=*/false));
|
|
|
Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(1)),
|
|
|
- /*IsDef=*/false));
|
|
|
+ /*isDef=*/false));
|
|
|
Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(2)),
|
|
|
- /*IsDef=*/false));
|
|
|
+ /*isDef=*/false));
|
|
|
MachineInstrBuilder MIB =
|
|
|
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
|
|
|
TII.get(TargetOpcode::PATCHABLE_TYPED_EVENT_CALL));
|