| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemoryDependenceAnalysis.h | 59 Clobber, enumerator 111 PointerSumTypeMember<Clobber, Instruction *>, 129 return MemDepResult(ValueTy::create<Clobber>(Inst)); in getClobber() 143 bool isClobber() const { return Value.is<Clobber>(); } in isClobber() 176 case Clobber: in getInst() 177 return Value.cast<Clobber>(); in getInst()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 224 std::string Clobber = in getClobberConflictLocation() local 228 if (Clobber == "cc" || Clobber == "memory" || Clobber == "unwind") in getClobberConflictLocation() 230 Clobber = Target.getNormalizedGCCRegisterName(Clobber, true); in getClobberConflictLocation() 232 if (InOutVars.count(Clobber)) in getClobberConflictLocation() 503 std::string Clobber = in ActOnGCCAsmStmt() local 506 if (!Context.getTargetInfo().isValidClobber(Clobber)) { in ActOnGCCAsmStmt() 509 << Clobber; in ActOnGCCAsmStmt() 516 if (Clobber == "unwind") { in ActOnGCCAsmStmt()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | DbgEntityHistoryCalculator.h | 76 enum EntryKind { DbgValue, Clobber }; enumerator 85 bool isClobber() const { return getEntryKind() == Clobber; } in isClobber()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | InlineAsm.h | 232 Clobber = 4, // Clobbered register, "~r". enumerator 335 bool isClobberKind() const { return getKind() == Kind::Clobber; } in isClobberKind() 347 case Kind::Clobber: in getKindName()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemorySSA.cpp | 136 MemoryAccess *Clobber = Walker->getClobberingMemoryAccess(MA, BAA); in emitInstructionAnnot() local 138 if (Clobber) { in emitInstructionAnnot() 140 if (MSSA->isLiveOnEntryDef(Clobber)) in emitInstructionAnnot() 143 OS << *Clobber; in emitInstructionAnnot() 608 MemoryAccess *Clobber; member 786 if (!MSSA.dominates(I->Clobber, Dom->Clobber)) in tryOptimizePhi() 802 return MSSA.dominates(P.Clobber, Target); in tryOptimizePhi() 884 if (DT.dominates(ChainBB, TP.Clobber->getBlock())) in tryOptimizePhi() 915 return MSSA.dominates(P.Clobber, R.PrimaryClobber.Clobber); in verifyOptResult() 957 Result = OptRes.PrimaryClobber.Clobber; in findClobber() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FlagsCopyLowering.cpp | 364 for (auto *Clobber : EvitableClobbers) { in runOnMachineFunction() local 365 unsigned NewOpc = X86::getNFVariant(Clobber->getOpcode()); in runOnMachineFunction() 367 Clobber->setDesc(TII->get(NewOpc)); in runOnMachineFunction() 368 Clobber->removeOperand( in runOnMachineFunction() 369 Clobber->findRegisterDefOperand(X86::EFLAGS, /*TRI=*/nullptr) in runOnMachineFunction()
|
| H A D | X86FloatingPoint.cpp | 1645 case InlineAsm::Kind::Clobber: in handleSpecialFP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIFixSGPRCopies.cpp | 498 auto interferes = [&MDT, From, To](MachineInstr* &Clobber) -> bool { in hoistAndMergeSGPRInits() argument 501 bool MayClobberFrom = isReachable(Clobber, &*From, MBBTo, MDT); in hoistAndMergeSGPRInits() 502 bool MayClobberTo = isReachable(Clobber, &*To, MBBTo, MDT); in hoistAndMergeSGPRInits() 513 MDT.dominates(Clobber, &*From) && in hoistAndMergeSGPRInits() 514 MDT.dominates(Clobber, &*To)) || in hoistAndMergeSGPRInits() 515 MDT.properlyDominates(Clobber->getParent(), MBBTo)); in hoistAndMergeSGPRInits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 342 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in writtenBetween() local 344 return !MSSA->dominates(Clobber, Start); in writtenBetween() 1434 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in overreadUndefContents() local 1436 if (auto *MD = dyn_cast<MemoryDef>(Clobber)) in overreadUndefContents() 1974 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in processByValArgument() local 1976 if (auto *MD = dyn_cast<MemoryDef>(Clobber)) in processByValArgument() 2081 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in processImmutArgument() local 2083 if (auto *MD = dyn_cast<MemoryDef>(Clobber)) in processImmutArgument()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 3136 std::string Clobber = S.getClobber(i); in EmitAsmStmt() local 3138 if (Clobber == "memory") in EmitAsmStmt() 3140 else if (Clobber == "unwind") { in EmitAsmStmt() 3143 } else if (Clobber != "cc") { in EmitAsmStmt() 3144 Clobber = getTarget().getNormalizedGCCRegisterName(Clobber); in EmitAsmStmt() 3146 getTarget().isSPRegName(Clobber)) { in EmitAsmStmt() 3153 if (Clobber == "eax" || Clobber == "edx") { in EmitAsmStmt() 3157 Constraints.find("={" + Clobber + "}"); in EmitAsmStmt() 3173 Constraints += Clobber; in EmitAsmStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmtAsm.cpp | 764 ExprResult Clobber(ParseAsmStringLiteral(/*ForAsmLabel*/ false)); in ParseAsmStatement() local 766 if (Clobber.isInvalid()) in ParseAsmStatement() 769 Clobbers.push_back(Clobber.get()); in ParseAsmStatement()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DbgEntityHistoryCalculator.cpp | 97 Entries.emplace_back(&MI, Entry::Clobber); in startClobber()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InlineAsmLowering.cpp | 528 unsigned Flag = InlineAsm::Flag(InlineAsm::Kind::Clobber, NumRegs); in lowerInlineAsm()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IfConversion.cpp | 1510 for (auto Clobber : Clobbers) { in UpdatePredRedefs() local 1513 unsigned Reg = Clobber.first; in UpdatePredRedefs() 1514 MachineOperand &Op = const_cast<MachineOperand&>(*Clobber.second); in UpdatePredRedefs()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 963 [&](StringRef Clobber) { in initialize() argument 964 return copyIntoContext(C, Clobber); in initialize()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | InstrEmitter.cpp | 1370 case InlineAsm::Kind::Clobber: in EmitSpecialNode()
|
| H A D | SelectionDAGBuilder.cpp | 1039 if (Code == InlineAsm::Kind::Clobber) { in AddInlineAsmOperands() 10352 OpInfo.AssignedRegs.AddInlineAsmOperands(InlineAsm::Kind::Clobber, in visitInlineAsm()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 760 case InlineAsm::Kind::Clobber: in LowerINLINEASM()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 3968 case InlineAsm::Kind::Clobber: in LowerINLINEASM()
|