Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ !
H A DIndVarSimplify.cpp1183 auto *OldCond = BI->getCondition(); in replaceExitCond() local
1187 if (OldCond->use_empty()) in replaceExitCond()
1188 DeadInsts.emplace_back(OldCond); in replaceExitCond()
1195 auto *OldCond = BI->getCondition(); in createFoldedExitCond() local
1196 return ConstantInt::get(OldCond->getType(), in createFoldedExitCond()
1337 Value *OldCond = BI->getCondition(); in optimizeLoopExitWithUnknownExitCount() local
1338 Visited.insert(OldCond); in optimizeLoopExitWithUnknownExitCount()
1339 Worklist.push_back(OldCond); in optimizeLoopExitWithUnknownExitCount()
1393 for (auto *OldCond : LeafConditions) { in optimizeLoopExitWithUnknownExitCount() local
1403 OptimisticSkipLastIter = !ICmpsFailingOnLastIter.count(OldCond); in optimizeLoopExitWithUnknownExitCount()
[all …]
H A DLoopPredication.cpp746 auto *OldCond = Guard->getOperand(0); in widenGuardConditions() local
750 Builder.CreateAssumption(OldCond); in widenGuardConditions()
752 RecursivelyDeleteTriviallyDeadInstructions(OldCond, nullptr /* TLI */, MSSAU); in widenGuardConditions()
781 auto *OldCond = BI->getCondition(); in widenWidenableBranchGuardConditions() local
800 RecursivelyDeleteTriviallyDeadInstructions(OldCond, nullptr /* TLI */, MSSAU); in widenWidenableBranchGuardConditions()
1170 Value *OldCond = BI->getCondition(); in predicateLoopExits() local
1171 BI->setCondition(ConstantInt::get(OldCond->getType(), !ExitIfTrue)); in predicateLoopExits()
H A DLoopStrengthReduce.cpp2724 ICmpInst *OldCond = Cond; in OptimizeLoopTermCond() local
2731 TermBr->replaceUsesOfWith(OldCond, Cond); in OptimizeLoopTermCond()
/src/contrib/llvm-project/llvm/lib/CodeGen/ !
H A DHardwareLoops.cpp549 Value *OldCond = ExitBranch->getCondition(); in InsertLoopDec() local
558 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in InsertLoopDec()
595 Value *OldCond = ExitBranch->getCondition(); in UpdateBranch() local
604 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in UpdateBranch()
/src/contrib/llvm-project/clang/lib/Sema/ !
H A DSemaTemplateInstantiateDecl.cpp236 const Attr *A, Expr *OldCond, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentFunctionAttrCondition() argument
242 ExprResult Result = S.SubstExpr(OldCond, TemplateArgs); in instantiateDependentFunctionAttrCondition()
255 if (OldCond->isValueDependent() && !Cond->isValueDependent() && in instantiateDependentFunctionAttrCondition()
575 Expr *OldCond = ES.getExpr(); in instantiateExplicitSpecifier() local
580 ExprResult SubstResult = SubstExpr(OldCond, TemplateArgs); in instantiateExplicitSpecifier()
/src/contrib/llvm-project/llvm/lib/Target/X86/ !
H A DX86InstrAsmAlias.td369 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond,
371 : MnemonicAlias<!strconcat(Prefix, OldCond, Suffix),
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/ !
H A DSimplifyCFG.cpp7499 auto *OldCond = BI->getCondition(); in simplifyCondBranch() local
7503 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in simplifyCondBranch()
/src/contrib/llvm-project/llvm/lib/Target/AArch64/ !
H A DAArch64ISelLowering.cpp23895 auto OldCond = in performSETCCCombine() local
23897 auto NewCond = getInvertedCondCode(OldCond); in performSETCCCombine()