Searched refs:isReg (Results 1 - 25 of 180) sorted by relevance

12345678

/external/llvm/include/llvm/CodeGen/
H A DMachineOperand.h191 return isReg() ? 0 : SubReg_TargetFlags;
194 assert(!isReg() && "Register operands can't have target flags");
199 assert(!isReg() && "Register operands can't have target flags");
226 /// isReg - Tests if this is a MO_Register operand.
227 bool isReg() const { return OpKind == MO_Register; } function in class:llvm::MachineOperand
265 assert(isReg() && "This is not a register operand!");
270 assert(isReg() && "Wrong MachineOperand accessor");
275 assert(isReg() && "Wrong MachineOperand accessor");
280 assert(isReg() && "Wrong MachineOperand accessor");
285 assert(isReg()
[all...]
/external/llvm/lib/Target/Mips/InstPrinter/
H A DMipsInstPrinter.cpp32 static bool isReg(const MCInst &MI, unsigned OpNo) { function
33 assert(MI.getOperand(OpNo).isReg() && "Register operand expected.");
191 if (Op.isReg()) {
296 return (isReg<Mips::ZERO>(MI, 0) && isReg<Mips::ZERO>(MI, 1) &&
298 (isReg<Mips::ZERO>(MI, 1) && printAlias("beqz", MI, 0, 2, OS));
301 return isReg<Mips::ZERO_64>(MI, 1) && printAlias("beqz", MI, 0, 2, OS);
304 return isReg<Mips::ZERO>(MI, 1) && printAlias("bnez", MI, 0, 2, OS);
307 return isReg<Mips::ZERO_64>(MI, 1) && printAlias("bnez", MI, 0, 2, OS);
310 return isReg<Mip
[all...]
/external/llvm/lib/CodeGen/
H A DLivePhysRegs.cpp40 if (O->isReg()) {
53 if (!O->isReg() || !O->readsReg() || O->isUndef())
70 if (O->isReg()) {
H A DAntiDepBreaker.h60 if (MI && MI->getOperand(0).isReg() && MI->getOperand(0).getReg() == OldReg)
H A DMachineInstr.cpp92 assert(isReg() && "Wrong MachineOperand accessor");
112 if (!isReg() || !isOnRegUseList())
127 assert((!isReg() || !isTied()) && "Cannot change a tied operand into an imm");
136 assert((!isReg() || !isTied()) && "Cannot change a tied operand into an imm");
157 bool WasReg = isReg();
640 if (MO.isReg())
649 if (MO.isReg())
696 bool isImpReg = Op.isReg() && Op.isImplicit();
698 while (OpNo && Operands[OpNo-1].isReg() && Operands[OpNo-1].isImplicit()) {
743 if (NewMO->isReg()) {
[all...]
H A DDeadMachineInstructionElim.cpp74 if (MO.isReg() && MO.isDef()) {
144 if (MO.isReg() && MO.isDef()) {
163 if (MO.isReg() && MO.isUse()) {
/external/mesa3d/src/gallium/drivers/radeon/InstPrinter/
H A DAMDGPUInstPrinter.cpp18 if (Op.isReg()) {
/external/llvm/lib/Target/R600/
H A DSIFoldOperands.cpp66 assert(FoldOp->isReg());
110 assert(Old.isReg());
182 if (!FoldingImm && !OpToFold.isReg())
193 if (OpToFold.isReg() &&
207 if (UseOp.isReg() && ((UseOp.getSubReg() && OpToFold.isReg()) ||
278 assert(Fold.OpToFold && Fold.OpToFold->isReg());
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.cpp174 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
186 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
199 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
212 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
224 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
237 assert(MI.getOperand(OpNo+1).isReg());
256 assert(MI.getOperand(OpNo+1).isReg());
276 assert(MI.getOperand(OpNo+1).isReg());
292 assert(MI.getOperand(OpNo+1).isReg());
308 assert(MI.getOperand(OpNo+1).isReg());
[all...]
/external/llvm/include/llvm/MC/MCParser/
H A DMCParsedAsmOperand.h47 /// isReg - Is this a register operand?
48 virtual bool isReg() const = 0;
/external/llvm/lib/Target/Sparc/InstPrinter/
H A DSparcInstPrinter.cpp62 if (!MI->getOperand(0).isReg())
86 || (!MI->getOperand(0).isReg())
112 if (MO.isReg()) {
139 if (MO.isReg() && MO.getReg() == SP::G0)
/external/llvm/lib/Target/BPF/InstPrinter/
H A DBPFInstPrinter.cpp54 if (Op.isReg()) {
75 assert(RegOp.isReg() && "Register operand not a register");
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp250 bool isReg() const { return Kind == CV_Register; } function in class:__anon10723::CountValue
254 assert(isReg() && "Wrong CountValue accessor");
258 assert(isReg() && "Wrong CountValue accessor");
267 if (isReg()) { OS << PrintReg(Contents.R.Reg, TRI, Contents.R.Sub); }
522 if (Op1.isReg()) {
559 if (InitialValue->isReg()) {
586 if (InitialValue->isReg()) {
593 if (EndValue->isReg()) {
619 if (Start->isReg()) {
624 if (End->isReg()) {
[all...]
H A DHexagonAsmPrinter.cpp131 if (!MI->getOperand(OpNo).isReg() ||
133 !MI->getOperand(OpNo+1).isReg())
160 if (Base.isReg())
H A DHexagonNewValueJump.cpp150 if (II->getOperand(i).isReg() &&
466 MI->getOperand(0).isReg() &&
474 isSecondOpReg = MI->getOperand(2).isReg();
508 if (MI->getOperand(0).isReg() &&
565 if (MO.isReg() && MO.isUse()) {
572 if (localMO.isReg() && localMO.isUse() &&
627 if (cmpInstr->getOperand(0).isReg() &&
630 if (cmpInstr->getOperand(1).isReg() &&
H A DHexagonExpandCondsets.cpp268 if (!Op.isReg() || !Op.isUse() || Op.getReg() != Reg)
300 if (!Op.isReg() || !Op.isDef() || Op.getReg() != Reg)
328 if (!Op.isReg() || !Op.isDef() || Op.getReg() != Reg)
357 if (!Op.isReg() || !Op.isUse() || Op.getReg() != Reg)
428 if (Op.isReg() && Op.isDef())
505 if (!Op.isReg() || !Op.isUse() || Op.isImplicit() || Op.isUndef())
544 if (!Op.isReg() || !Op.isDef())
622 if (!Op.isReg() || !Op.isUse())
643 if (SO.isReg()) {
749 if (!Op.isReg() || !O
[all...]
H A DHexagonVLIWPacketizer.cpp354 if (MO.isReg() && MO.isUse() && (MO.getReg() == DepReg)) {
480 if (MI->getOperand(opNum).isReg() &&
486 if (MI->getOperand(opNum).isReg() &&
495 assert(MI->getOperand(1).isReg() &&
501 assert(MI->getOperand(0).isReg() &&
544 if (GetStoreValueOperand(MI).isReg() &&
608 if ( PacketMI->getOperand(opNum).isReg())
620 if ( MI->getOperand(opNum).isReg())
674 if (MI->getOperand(opNum).isReg() &&
688 GetStoreValueOperand(MI).isReg()
[all...]
H A DHexagonCopyToCombine.cpp119 assert(MI->getOperand(0).isReg() && MI->getOperand(1).isReg());
132 assert(Op0.isReg());
150 assert(MI->getOperand(0).isReg() && MI->getOperand(1).isGlobal());
210 if (!Op.isReg() || Op.getReg() != RegNotKilled || !Op.isKill())
367 if (!Op.isReg() || !Op.isUse() || !Op.getReg())
397 if (!Op.isReg() || !Op.isDef() || !Op.getReg())
536 bool IsHiReg = HiOperand.isReg();
537 bool IsLoReg = LoOperand.isReg();
/external/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCCodeEmitter.cpp117 if (MO.isReg())
144 if (MO.isReg() || MO.isImm())
179 if (MO.isReg() || MO.isImm())
192 if (MO.isReg() || MO.isImm())
204 if (MO.isReg() || MO.isImm())
/external/llvm/include/llvm/MC/
H A DMCInst.h56 bool isReg() const { return Kind == kRegister; } function in class:llvm::MCOperand
64 assert(isReg() && "This is not a register operand!");
70 assert(isReg() && "This is not a register operand!");
H A DMachineLocation.h53 bool isReg() const { return IsRegister; } function
/external/llvm/lib/Target/AArch64/
H A DAArch64DeadRegisterDefinitionsPass.cpp55 if (MO.isReg() && MO.isDef())
81 if (MO.isReg() && MO.isDead() && MO.isDef()) {
/external/llvm/lib/MC/
H A DMCInst.cpp22 else if (isReg())
/external/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFStreamer.cpp28 if (!Op.isReg())
/external/llvm/lib/Target/XCore/InstPrinter/
H A DXCoreInstPrinter.cpp75 if (Op.isReg()) {

Completed in 300 milliseconds

12345678