Home
last modified time | relevance | path

Searched refs:OldCond (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DHardwareLoops.cpp481 Value *OldCond = ExitBranch->getCondition(); in InsertLoopDec() local
490 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in InsertLoopDec()
524 Value *OldCond = ExitBranch->getCondition(); in UpdateBranch() local
533 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in UpdateBranch()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp818 auto *OldCond = Guard->getOperand(0); in widenGuardConditions() local
820 RecursivelyDeleteTriviallyDeadInstructions(OldCond, nullptr /* TLI */, MSSAU); in widenGuardConditions()
844 auto *OldCond = BI->getCondition(); in widenWidenableBranchGuardConditions() local
846 RecursivelyDeleteTriviallyDeadInstructions(OldCond, nullptr /* TLI */, MSSAU); in widenWidenableBranchGuardConditions()
1238 Value *OldCond = BI->getCondition(); in predicateLoopExits() local
1239 BI->setCondition(ConstantInt::get(OldCond->getType(), !ExitIfTrue)); in predicateLoopExits()
H A DIndVarSimplify.cpp1293 auto *OldCond = BI->getCondition(); in replaceExitCond() local
1295 if (OldCond->use_empty()) in replaceExitCond()
1296 DeadInsts.emplace_back(OldCond); in replaceExitCond()
1303 auto *OldCond = BI->getCondition(); in foldExit() local
1305 ConstantInt::get(OldCond->getType(), IsTaken ? ExitIfTrue : !ExitIfTrue); in foldExit()
1874 Value *OldCond = BI->getCondition(); in predicateLoopExits() local
1876 if (OldCond->use_empty()) in predicateLoopExits()
1877 DeadInsts.emplace_back(OldCond); in predicateLoopExits()
H A DLoopStrengthReduce.cpp2520 ICmpInst *OldCond = Cond; in OptimizeLoopTermCond() local
2527 TermBr->replaceUsesOfWith(OldCond, Cond); in OptimizeLoopTermCond()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp226 const Attr *A, Expr *OldCond, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentFunctionAttrCondition() argument
232 ExprResult Result = S.SubstExpr(OldCond, TemplateArgs); in instantiateDependentFunctionAttrCondition()
245 if (OldCond->isValueDependent() && !Cond->isValueDependent() && in instantiateDependentFunctionAttrCondition()
556 Expr *OldCond = ES.getExpr(); in instantiateExplicitSpecifier() local
561 ExprResult SubstResult = S.SubstExpr(OldCond, TemplateArgs); in instantiateExplicitSpecifier()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp6862 auto *OldCond = BI->getCondition(); in simplifyCondBranch() local
6866 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in simplifyCondBranch()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.td3333 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond,
3335 : MnemonicAlias<!strconcat(Prefix, OldCond, Suffix),
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp18373 auto OldCond = static_cast<AArch64CC::CondCode>(OpCC->getZExtValue()); in performSETCCCombine() local
18374 auto NewCond = getInvertedCondCode(OldCond); in performSETCCCombine()