Searched refs:FoldedOps (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1051 SmallDenseMap<Constant *, Constant *> &FoldedOps) { in ConstantFoldConstantImpl() argument 1061 auto It = FoldedOps.find(NewC); in ConstantFoldConstantImpl() 1062 if (It == FoldedOps.end()) { in ConstantFoldConstantImpl() 1064 ConstantFoldConstantImpl(NewC, DL, TLI, FoldedOps)) { in ConstantFoldConstantImpl() 1065 FoldedOps.insert({NewC, FoldedC}); in ConstantFoldConstantImpl() 1068 FoldedOps.insert({NewC, NewC}); in ConstantFoldConstantImpl() 1097 SmallDenseMap<Constant *, Constant *> FoldedOps; in ConstantFoldInstruction() local 1110 if (auto *FoldedC = ConstantFoldConstantImpl(C, DL, TLI, FoldedOps)) in ConstantFoldInstruction() 1128 SmallDenseMap<Constant *, Constant *> FoldedOps; in ConstantFoldInstruction() local 1133 if (auto *FoldedOp = ConstantFoldConstantImpl(Op, DL, TLI, FoldedOps)) in ConstantFoldInstruction() [all …]
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1044 SmallPtrSetImpl<ConstantExpr *> &FoldedOps) { in ConstantFoldConstantExpressionImpl() argument 1051 if (FoldedOps.insert(NewCE).second) in ConstantFoldConstantExpressionImpl() 1052 NewC = ConstantFoldConstantExpressionImpl(NewCE, DL, TLI, FoldedOps); in ConstantFoldConstantExpressionImpl() 1070 SmallPtrSet<ConstantExpr *, 4> FoldedOps; in ConstantFoldConstantExpression() local 1071 return ConstantFoldConstantExpressionImpl(CE, DL, TLI, FoldedOps); in ConstantFoldConstantExpression()
|