Lines Matching defs:PPCOperand

97 struct PPCOperand;
164 /// PPCOperand - Instances of this class represent a parsed PowerPC machine
166 struct PPCOperand : public MCParsedAsmOperand {
204 PPCOperand(KindTy K) : Kind(K) {}
207 PPCOperand(const PPCOperand &o) : MCParsedAsmOperand() {
229 // Disable use of sized deallocation due to overallocation of PPCOperand
671 static std::unique_ptr<PPCOperand> CreateToken(StringRef Str, SMLoc S,
673 auto Op = std::make_unique<PPCOperand>(Token);
682 static std::unique_ptr<PPCOperand>
689 void *Mem = ::operator new(sizeof(PPCOperand) + Str.size());
690 std::unique_ptr<PPCOperand> Op(new (Mem) PPCOperand(Token));
700 static std::unique_ptr<PPCOperand> CreateImm(int64_t Val, SMLoc S, SMLoc E,
703 auto Op = std::make_unique<PPCOperand>(Immediate);
712 static std::unique_ptr<PPCOperand> CreateExpr(const MCExpr *Val, SMLoc S,
714 auto Op = std::make_unique<PPCOperand>(Expression);
723 static std::unique_ptr<PPCOperand>
725 auto Op = std::make_unique<PPCOperand>(TLSRegister);
733 static std::unique_ptr<PPCOperand>
735 auto Op = std::make_unique<PPCOperand>(ContextImmediate);
743 static std::unique_ptr<PPCOperand>
784 void PPCOperand::print(raw_ostream &OS) const {
1264 const PPCOperand &Op = static_cast<const PPCOperand &>(*Operands[idx]);
1292 ((PPCOperand &)*Operands[0]).getToken(), FBS);
1294 ((PPCOperand &)*Operands[0]).getLocRange());
1302 ErrorLoc = ((PPCOperand &)*Operands[ErrorInfo]).getStartLoc();
1541 Operands.push_back(PPCOperand::CreateImm(IntVal, S, E, isPPC64()));
1562 Operands.push_back(PPCOperand::CreateFromMCExpr(EVal, S, E, isPPC64()));
1608 Operands.back() = PPCOperand::CreateFromMCExpr(
1612 Operands.push_back(PPCOperand::CreateFromMCExpr(TLSSym, S, E, isPPC64()));
1640 PPCOperand::CreateImm(IntVal, S, E, isPPC64(), /*IsMemOpBase=*/true));
1669 PPCOperand::CreateTokenWithStringCopy(Mnemonic, NameLoc, isPPC64()));
1671 Operands.push_back(PPCOperand::CreateToken(Mnemonic, NameLoc, isPPC64()));
1677 PPCOperand::CreateTokenWithStringCopy(DotStr, DotLoc, isPPC64()));
1679 Operands.push_back(PPCOperand::CreateToken(DotStr, DotLoc, isPPC64()));
1715 PPCOperand &EHOp = (PPCOperand &)*Operands[4];
1894 PPCOperand &Op = static_cast<PPCOperand &>(AsmOp);