Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1159 auto *OldCond = BI->getCondition(); in replaceExitCond() local
1163 if (OldCond->use_empty()) in replaceExitCond()
1164 DeadInsts.emplace_back(OldCond); in replaceExitCond()
1171 auto *OldCond = BI->getCondition(); in createFoldedExitCond() local
1172 return ConstantInt::get(OldCond->getType(), in createFoldedExitCond()
1313 Value *OldCond = BI->getCondition(); in optimizeLoopExitWithUnknownExitCount() local
1314 Visited.insert(OldCond); in optimizeLoopExitWithUnknownExitCount()
1315 Worklist.push_back(OldCond); in optimizeLoopExitWithUnknownExitCount()
1369 for (auto *OldCond : LeafConditions) { in optimizeLoopExitWithUnknownExitCount() local
1379 OptimisticSkipLastIter = !ICmpsFailingOnLastIter.count(OldCond); in optimizeLoopExitWithUnknownExitCount()
[all …]
H A DLoopPredication.cpp745 auto *OldCond = Guard->getOperand(0); in widenGuardConditions() local
749 Builder.CreateAssumption(OldCond); in widenGuardConditions()
751 RecursivelyDeleteTriviallyDeadInstructions(OldCond, nullptr /* TLI */, MSSAU); in widenGuardConditions()
780 auto *OldCond = BI->getCondition(); in widenWidenableBranchGuardConditions() local
799 RecursivelyDeleteTriviallyDeadInstructions(OldCond, nullptr /* TLI */, MSSAU); in widenWidenableBranchGuardConditions()
1169 Value *OldCond = BI->getCondition(); in predicateLoopExits() local
1170 BI->setCondition(ConstantInt::get(OldCond->getType(), !ExitIfTrue)); in predicateLoopExits()
H A DLoopStrengthReduce.cpp2713 ICmpInst *OldCond = Cond; in OptimizeLoopTermCond() local
2720 TermBr->replaceUsesOfWith(OldCond, Cond); in OptimizeLoopTermCond()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp545 Value *OldCond = ExitBranch->getCondition(); in InsertLoopDec() local
554 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in InsertLoopDec()
589 Value *OldCond = ExitBranch->getCondition(); in UpdateBranch() local
598 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in UpdateBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaInstrInfo.cpp425 unsigned OldCond = Cond[0].getImm(); in analyzeBranch() local
426 if (OldCond == ThisCond[0].getImm()) in analyzeBranch()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h202 const Stmt *OldInit, const Stmt *OldCond, in ForStmtBeginChecker() argument
206 Info(CheckForInfo{{OldInit, OldCond, OldInc}, {Init, Cond, Inc}}) {} in ForStmtBeginChecker()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp238 const Attr *A, Expr *OldCond, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentFunctionAttrCondition() argument
244 ExprResult Result = S.SubstExpr(OldCond, TemplateArgs); in instantiateDependentFunctionAttrCondition()
257 if (OldCond->isValueDependent() && !Cond->isValueDependent() && in instantiateDependentFunctionAttrCondition()
611 Expr *OldCond = ES.getExpr(); in instantiateExplicitSpecifier() local
616 ExprResult SubstResult = SubstExpr(OldCond, TemplateArgs); in instantiateExplicitSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrAsmAlias.td395 class CondCodeAlias<string Prefix,string Suffix, string OldCond, string NewCond,
397 : MnemonicAlias<!strconcat(Prefix, OldCond, Suffix),
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp7964 auto *OldCond = BI->getCondition(); in simplifyCondBranch() local
7968 RecursivelyDeleteTriviallyDeadInstructions(OldCond); in simplifyCondBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp25168 AArch64CC::CondCode OldCond = in performCSELCombine() local
25170 AArch64CC::CondCode NewCond = getSwappedCondition(OldCond); in performCSELCombine()
25272 auto OldCond = in performSETCCCombine() local
25274 auto NewCond = getInvertedCondCode(OldCond); in performSETCCCombine()