Searched refs:ConstOps (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 316 SmallVector<Constant*, 8> ConstOps; in SimplifyWithOpReplaced() local 319 ConstOps.push_back(CRepOp); in SimplifyWithOpReplaced() 321 ConstOps.push_back(COp); in SimplifyWithOpReplaced() 327 if (ConstOps.size() == I->getNumOperands()) { in SimplifyWithOpReplaced() 330 return ConstantFoldLoadFromConstPtr(ConstOps[0], TD); in SimplifyWithOpReplaced() 333 ConstOps, TD); in SimplifyWithOpReplaced()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3347 SmallVector<Constant *, 8> ConstOps; in SimplifyWithOpReplaced() local 3350 ConstOps.push_back(CRepOp); in SimplifyWithOpReplaced() 3352 ConstOps.push_back(COp); in SimplifyWithOpReplaced() 3358 if (ConstOps.size() == I->getNumOperands()) { in SimplifyWithOpReplaced() 3360 return ConstantFoldCompareInstOperands(C->getPredicate(), ConstOps[0], in SimplifyWithOpReplaced() 3361 ConstOps[1], Q.DL, Q.TLI); in SimplifyWithOpReplaced() 3365 return ConstantFoldLoadFromConstPtr(ConstOps[0], LI->getType(), Q.DL); in SimplifyWithOpReplaced() 3367 return ConstantFoldInstOperands(I, ConstOps, Q.DL, Q.TLI); in SimplifyWithOpReplaced()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3682 SmallVector<Constant *, 8> ConstOps; in SimplifyWithOpReplaced() local 3685 ConstOps.push_back(CRepOp); in SimplifyWithOpReplaced() 3687 ConstOps.push_back(COp); in SimplifyWithOpReplaced() 3693 if (ConstOps.size() == I->getNumOperands()) { in SimplifyWithOpReplaced() 3695 return ConstantFoldCompareInstOperands(C->getPredicate(), ConstOps[0], in SimplifyWithOpReplaced() 3696 ConstOps[1], Q.DL, Q.TLI); in SimplifyWithOpReplaced() 3700 return ConstantFoldLoadFromConstPtr(ConstOps[0], LI->getType(), Q.DL); in SimplifyWithOpReplaced() 3702 return ConstantFoldInstOperands(I, ConstOps, Q.DL, Q.TLI); in SimplifyWithOpReplaced()
|