Home
last modified time | relevance | path

Searched refs:COps (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp601 SmallVector<Constant *, 2> COps; in simplifyInstruction() local
608 COps.push_back(COp); in simplifyInstruction()
610 auto *C = Evaluate(COps); in simplifyInstruction()
619 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitBitCast() argument
620 return ConstantExpr::getBitCast(COps[0], I.getType()); in visitBitCast()
643 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitPtrToInt() argument
644 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt()
676 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitIntToPtr() argument
677 return ConstantExpr::getIntToPtr(COps[0], I.getType()); in visitIntToPtr()
702 if (simplifyInstruction(I, [&](SmallVectorImpl<Constant *> &COps) { in visitCastInst() argument
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4189 SmallVector<Constant *, 4> COps; in ConstantFold() local
4192 COps.push_back(A); in ConstantFold()
4198 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold()
4199 COps[1], DL); in ConstantFold()
4202 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4605 SmallVector<Constant *, 4> COps; in ConstantFold() local
4608 COps.push_back(A); in ConstantFold()
4614 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold()
4615 COps[1], DL); in ConstantFold()
4618 return ConstantFoldInstOperands(I, COps, DL); in ConstantFold()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp2372 Constant *COps[] = {CLHS, CRHS}; in SimplifyBinOp() local
2373 return ConstantFoldInstOperands(Opcode, LHS->getType(), COps, TD); in SimplifyBinOp()