Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1295 auto *OldCond = BI->getCondition(); in replaceExitCond() local
1299 if (OldCond->use_empty()) in replaceExitCond()
1300 DeadInsts.emplace_back(OldCond); in replaceExitCond()
1307 auto *OldCond = BI->getCondition(); in createFoldedExitCond() local
1308 return ConstantInt::get(OldCond->getType(), in createFoldedExitCond()
1447 Value *OldCond = BI->getCondition(); in optimizeLoopExitWithUnknownExitCount() local
1448 Visited.insert(OldCond); in optimizeLoopExitWithUnknownExitCount()
1449 Worklist.push_back(OldCond); in optimizeLoopExitWithUnknownExitCount()
1503 for (auto *OldCond : LeafConditions) { in optimizeLoopExitWithUnknownExitCount() local
1513 OptimisticSkipLastIter = !ICmpsFailingOnLastIter.count(OldCond); in optimizeLoopExitWithUnknownExitCount()
[all …]
H A DLoopPredication.cpp826 auto *OldCond = Guard->getOperand(0); in widenGuardConditions() local
830 Builder.CreateAssumption(OldCond); in widenGuardConditions()
832 RecursivelyDeleteTriviallyDeadInstructions(OldCond, nullptr /* TLI */, MSSAU); in widenGuardConditions()
862 auto *OldCond = BI->getCondition(); in widenWidenableBranchGuardConditions() local
868 RecursivelyDeleteTriviallyDeadInstructions(OldCond, nullptr /* TLI */, MSSAU); in widenWidenableBranchGuardConditions()
1246 Value *OldCond = BI->getCondition(); in predicateLoopExits() local
1247 BI->setCondition(ConstantInt::get(OldCond->getType(), !ExitIfTrue)); in predicateLoopExits()
H A DLoopStrengthReduce.cpp2535 ICmpInst *OldCond = Cond; in OptimizeLoopTermCond() local
2542 TermBr->replaceUsesOfWith(OldCond, Cond); in OptimizeLoopTermCond()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp227 const Attr *A, Expr *OldCond, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentFunctionAttrCondition() argument
233 ExprResult Result = S.SubstExpr(OldCond, TemplateArgs); in instantiateDependentFunctionAttrCondition()
246 if (OldCond->isValueDependent() && !Cond->isValueDependent() && in instantiateDependentFunctionAttrCondition()
560 Expr *OldCond = ES.getExpr(); in instantiateExplicitSpecifier() local
565 ExprResult SubstResult = S.SubstExpr(OldCond, TemplateArgs); in instantiateExplicitSpecifier()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp7031 auto *OldCond = BI->getCondition(); in simplifyCondBranch() local
7035 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in simplifyCondBranch()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrInfo.td3409 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond,
3411 : MnemonicAlias<!strconcat(Prefix, OldCond, Suffix),
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp20257 auto OldCond = static_cast<AArch64CC::CondCode>(OpCC->getZExtValue()); in performSETCCCombine() local
20258 auto NewCond = getInvertedCondCode(OldCond); in performSETCCCombine()