Home
last modified time | relevance | path

Searched refs:TiedTo (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/llvm/unittests/Support/
Draw_ostream_test.cpp382 raw_string_ostream TiedTo(TiedToBuffer); in TEST() local
383 TiedTo.SetBuffered(); in TEST()
384 TiedTo << "a"; in TEST()
388 TiedStream.tie(&TiedTo); in TEST()
401 TiedTo << "c"; in TEST()
408 TiedTo << "e"; in TEST()
417 TiedTo << "g"; in TEST()
429 TiedTo << "o"; in TEST()
436 TiedTo.tie(&TiedStream); in TEST()
437 TiedTo.SetBufferSize(2); in TEST()
[all …]
/external/clang/lib/Sema/
DSemaStmtAsm.cpp441 unsigned TiedTo = Info.getTiedOperand(); in ActOnGCCAsmStmt() local
443 Expr *OutputExpr = Exprs[TiedTo]; in ActOnGCCAsmStmt()
447 assert(TiedTo < InputMatchedToOutput.size() && "TiedTo value out of range"); in ActOnGCCAsmStmt()
448 if (InputMatchedToOutput[TiedTo] != ~0U) { in ActOnGCCAsmStmt()
451 << TiedTo; in ActOnGCCAsmStmt()
452 Diag(NS->getInputExpr(InputMatchedToOutput[TiedTo])->getLocStart(), in ActOnGCCAsmStmt()
454 << TiedTo; in ActOnGCCAsmStmt()
457 InputMatchedToOutput[TiedTo] = i; in ActOnGCCAsmStmt()
512 if (isOperandMentioned(TiedTo, Pieces)) { in ActOnGCCAsmStmt()
522 OutputConstraintInfos[TiedTo].allowsRegister()) in ActOnGCCAsmStmt()
/external/llvm-project/clang/lib/Sema/
DSemaStmtAsm.cpp573 unsigned TiedTo = Info.getTiedOperand(); in ActOnGCCAsmStmt() local
575 Expr *OutputExpr = Exprs[TiedTo]; in ActOnGCCAsmStmt()
579 assert(TiedTo < InputMatchedToOutput.size() && "TiedTo value out of range"); in ActOnGCCAsmStmt()
580 if (InputMatchedToOutput[TiedTo] != ~0U) { in ActOnGCCAsmStmt()
583 << TiedTo; in ActOnGCCAsmStmt()
584 targetDiag(NS->getInputExpr(InputMatchedToOutput[TiedTo])->getBeginLoc(), in ActOnGCCAsmStmt()
586 << TiedTo; in ActOnGCCAsmStmt()
589 InputMatchedToOutput[TiedTo] = i; in ActOnGCCAsmStmt()
644 if (isOperandMentioned(TiedTo, Pieces)) { in ActOnGCCAsmStmt()
654 OutputConstraintInfos[TiedTo].allowsRegister()) in ActOnGCCAsmStmt()
/external/llvm-project/llvm/lib/CodeGen/
DTargetInstrInfo.cpp532 unsigned TiedTo = e; in foldPatchpoint() local
533 (void)MI.isRegTiedToDefOperand(i, &TiedTo); in foldPatchpoint()
536 assert(TiedTo == e && "Cannot fold tied operands"); in foldPatchpoint()
552 if (TiedTo < e) { in foldPatchpoint()
553 assert(TiedTo < NumDefs && "Bad tied operand"); in foldPatchpoint()
554 if (TiedTo > DefToFoldIdx) in foldPatchpoint()
555 --TiedTo; in foldPatchpoint()
556 NewMI->tieOperands(TiedTo, NewMI->getNumOperands() - 1); in foldPatchpoint()
1415 unsigned TiedTo = 0; in createMIROperandComment() local
1416 if (InlineAsm::isUseOperandTiedToDef(Flag, TiedTo)) in createMIROperandComment()
[all …]
DMachineInstr.cpp279 NewMO->TiedTo = 0; in addOperand()
1103 UseMO.TiedTo = DefIdx + 1; in tieOperands()
1111 UseMO.TiedTo = TiedMax; in tieOperands()
1115 DefMO.TiedTo = std::min(UseIdx + 1, TiedMax); in tieOperands()
1126 if (MO.TiedTo < TiedMax) in findTiedOperandIdx()
1127 return MO.TiedTo - 1; in findTiedOperandIdx()
1137 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
1761 unsigned TiedTo = 0; in print() local
1762 if (InlineAsm::isUseOperandTiedToDef(Flag, TiedTo)) in print()
1763 OS << " tiedto:$" << TiedTo; in print()
DMachineVerifier.cpp1693 int TiedTo = MCID.getOperandConstraint(MONum, MCOI::TIED_TO); in visitMachineOperand() local
1694 if (TiedTo != -1) { in visitMachineOperand()
1699 else if (unsigned(TiedTo) != MI->findTiedOperandIdx(MONum)) in visitMachineOperand() local
1702 const MachineOperand &MOTied = MI->getOperand(TiedTo); in visitMachineOperand()
1704 report("Tied counterpart must be a register", &MOTied, TiedTo); in visitMachineOperand()
1707 report("Tied physical registers must match.", &MOTied, TiedTo); in visitMachineOperand()
DTargetLoweringBase.cpp1171 unsigned TiedTo = i; in emitPatchPoint() local
1173 TiedTo = MI->findTiedOperandIdx(i); in emitPatchPoint()
1175 if (TiedTo < i) in emitPatchPoint()
1176 MIB->tieOperands(TiedTo, MIB->getNumOperands() - 1); in emitPatchPoint()
DMachineOperand.cpp271 TiedTo = 0; in ChangeToRegister()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp207 TiedTo = 0; in ChangeToRegister()
363 if (TiedTo != 15) in print()
364 OS << unsigned(TiedTo - 1); in print()
839 NewMO->TiedTo = 0; in addOperand()
1408 UseMO.TiedTo = DefIdx + 1; in tieOperands()
1414 UseMO.TiedTo = TiedMax; in tieOperands()
1418 DefMO.TiedTo = std::min(UseIdx + 1, TiedMax); in tieOperands()
1429 if (MO.TiedTo < TiedMax) in findTiedOperandIdx()
1430 return MO.TiedTo - 1; in findTiedOperandIdx()
1440 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
[all …]
DMachineVerifier.cpp916 int TiedTo = MCID.getOperandConstraint(MONum, MCOI::TIED_TO); in visitMachineOperand() local
917 if (TiedTo != -1) { in visitMachineOperand()
922 else if (unsigned(TiedTo) != MI->findTiedOperandIdx(MONum)) in visitMachineOperand() local
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h80 unsigned char TiedTo : 4; variable
319 return TiedTo; in isTied()
623 Op.TiedTo = 0;
DMachineInstr.h1243 getOperand(findTiedOperandIdx(OpIdx)).TiedTo = 0;
1244 MO.TiedTo = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineInstr.cpp271 NewMO->TiedTo = 0; in addOperand()
1059 UseMO.TiedTo = DefIdx + 1; in tieOperands()
1065 UseMO.TiedTo = TiedMax; in tieOperands()
1069 DefMO.TiedTo = std::min(UseIdx + 1, TiedMax); in tieOperands()
1080 if (MO.TiedTo < TiedMax) in findTiedOperandIdx()
1081 return MO.TiedTo - 1; in findTiedOperandIdx()
1091 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
1667 unsigned TiedTo = 0; in print() local
1668 if (InlineAsm::isUseOperandTiedToDef(Flag, TiedTo)) in print()
1669 OS << " tiedto:$" << TiedTo; in print()
DMachineVerifier.cpp1617 int TiedTo = MCID.getOperandConstraint(MONum, MCOI::TIED_TO); in visitMachineOperand() local
1618 if (TiedTo != -1) { in visitMachineOperand()
1623 else if (unsigned(TiedTo) != MI->findTiedOperandIdx(MONum)) in visitMachineOperand() local
1626 const MachineOperand &MOTied = MI->getOperand(TiedTo); in visitMachineOperand()
1628 report("Tied counterpart must be a register", &MOTied, TiedTo); in visitMachineOperand()
1631 report("Tied physical registers must match.", &MOTied, TiedTo); in visitMachineOperand()
DMachineOperand.cpp264 TiedTo = 0; in ChangeToRegister()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOperand.h90 unsigned TiedTo : 4; variable
441 return TiedTo; in isTied()
796 Op.TiedTo = 0;
DMachineInstr.h1646 getOperand(findTiedOperandIdx(OpIdx)).TiedTo = 0;
1647 MO.TiedTo = 0;
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineOperand.h90 unsigned TiedTo : 4; variable
441 return TiedTo; in isTied()
806 Op.TiedTo = 0;
DMachineInstr.h1762 getOperand(findTiedOperandIdx(OpIdx)).TiedTo = 0;
1763 MO.TiedTo = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp6729 auto TiedTo = Desc.getOperandConstraint(Inst.getNumOperands(), in cvtDPP() local
6731 if (TiedTo != -1) { in cvtDPP()
6732 assert((unsigned)TiedTo < Inst.getNumOperands()); in cvtDPP()
6734 Inst.addOperand(Inst.getOperand(TiedTo)); in cvtDPP()
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp7544 auto TiedTo = Desc.getOperandConstraint(Inst.getNumOperands(), in cvtDPP() local
7546 if (TiedTo != -1) { in cvtDPP()
7547 assert((unsigned)TiedTo < Inst.getNumOperands()); in cvtDPP()
7549 Inst.addOperand(Inst.getOperand(TiedTo)); in cvtDPP()