Home
last modified time | relevance | path

Searched refs:CTCInstr (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunctionProfile.cpp295 const MCInst *CTCInstr = BB->getLastNonPseudoInstr(); in inferFallThroughCounts() local
296 if (CTCInstr && BC.MIB->getConditionalTailCall(*CTCInstr)) { in inferFallThroughCounts()
298 *CTCInstr, "CTCTakenCount"); in inferFallThroughCounts()
H A DBinaryFunction.cpp2237 MCInst *CTCInstr = BB.getLastNonPseudoInstr(); in removeConditionalTailCalls() local
2238 if (!CTCInstr) in removeConditionalTailCalls()
2242 BC.MIB->getConditionalTailCall(*CTCInstr); in removeConditionalTailCalls()
2248 const int32_t CFIStateBeforeCTC = BB.getCFIStateAtInstr(CTCInstr); in removeConditionalTailCalls()
2253 *CTCInstr, "CTCTakenCount"); in removeConditionalTailCalls()
2255 *CTCInstr, "CTCMispredCount"); in removeConditionalTailCalls()
2259 assert(!BC.MIB->getEHInfo(*CTCInstr) && in removeConditionalTailCalls()
2264 const MCSymbol *CTCTargetLabel = BC.MIB->getTargetSymbol(*CTCInstr); in removeConditionalTailCalls()
2283 BC.MIB->convertTailCallToJmp(*CTCInstr); in removeConditionalTailCalls()
2285 BC.MIB->replaceBranchTarget(*CTCInstr, TailCallBB->getLabel(), in removeConditionalTailCalls()
[all …]