Searched refs:markConstant (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | SCCPSolver.cpp | 146 bool markConstant(ValueLatticeElement &IV, Value *V, Constant *C, 149 bool markConstant(Value *V, Constant *C) { in markConstant() function in llvm::SCCPInstVisitor 151 return markConstant(ValueState[V], V, C); in markConstant() 187 LV.markConstant(C); // Constants are constant in getValueState() 216 LV.markConstant(Elt); // Constants are constant. in getStructValueState() 362 IV.markConstant(GV->getInitializer()); in trackValueOfGlobalVariable() 473 bool SCCPInstVisitor::markConstant(ValueLatticeElement &IV, Value *V, in markConstant() function in SCCPInstVisitor 475 if (!IV.markConstant(C, MayIncludeUndef)) in markConstant() 781 markConstant(&I, C); in visitCastInst() 916 return (void)markConstant(IV, &I, C); in visitUnaryOperator() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | ValueLattice.h | 206 Res.markConstant(C); in get() 302 bool markConstant(Constant *V, bool MayIncludeUndef = false) { 400 return markConstant(RHS.getConstant(), true);
|