Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp440 bool markConstant(ValueLatticeElement &IV, Value *V, Constant *C,
443 bool markConstant(Value *V, Constant *C) { in markConstant() function in llvm::SCCPInstVisitor
445 return markConstant(ValueState[V], V, C); in markConstant()
488 LV.markConstant(C); // Constants are constant in getValueState()
515 LV.markConstant(Elt); // Constants are constant. in getStructValueState()
715 IV.markConstant(GV->getInitializer()); in trackValueOfGlobalVariable()
902 bool SCCPInstVisitor::markConstant(ValueLatticeElement &IV, Value *V, in markConstant() function in SCCPInstVisitor
904 if (!IV.markConstant(C, MayIncludeUndef)) in markConstant()
1006 NewValue.markConstant(Iter->Actual->getAggregateElement(I)); in setLatticeValueForSpecializationArguments()
1009 ValueState[&*NewArg].markConstant(Iter->Actual); in setLatticeValueForSpecializationArguments()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h205 Res.markConstant(C); in get()
316 bool markConstant(Constant *V, bool MayIncludeUndef = false) {
416 return markConstant(RHS.getConstant(), true);