Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1096 if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) { in ProcessBlock() local
1102 Constant *CondConst = dyn_cast<Constant>(CondCmp->getOperand(1)); in ProcessBlock()
1114 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()
1125 if (CondCmp->use_empty()) in ProcessBlock()
1126 CondCmp->eraseFromParent(); in ProcessBlock()
1134 else if (CondCmp->getParent() == BB) { in ProcessBlock()
1136 ConstantInt::getTrue(CondCmp->getType()) : in ProcessBlock()
1137 ConstantInt::getFalse(CondCmp->getType()); in ProcessBlock()
1138 ReplaceFoldableUses(CondCmp, CI); in ProcessBlock()
1147 if (TryToUnfoldSelect(CondCmp, BB)) in ProcessBlock()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h154 bool TryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);