Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/IR/
H A DFPEnv.cpp37 Optional<StringRef> RoundingStr = None; in convertRoundingModeToStr() local
40 RoundingStr = "round.dynamic"; in convertRoundingModeToStr()
43 RoundingStr = "round.tonearest"; in convertRoundingModeToStr()
46 RoundingStr = "round.tonearestaway"; in convertRoundingModeToStr()
49 RoundingStr = "round.downward"; in convertRoundingModeToStr()
52 RoundingStr = "round.upward"; in convertRoundingModeToStr()
55 RoundingStr = "round.towardzero"; in convertRoundingModeToStr()
60 return RoundingStr; in convertRoundingModeToStr()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIRBuilder.h311 Optional<StringRef> RoundingStr = convertRoundingModeToStr(NewRounding); in setDefaultConstrainedRounding() local
312 assert(RoundingStr && "Garbage strict rounding mode!"); in setDefaultConstrainedRounding()
1167 Optional<StringRef> RoundingStr = convertRoundingModeToStr(UseRounding); in getConstrainedFPRounding() local
1168 assert(RoundingStr && "Garbage strict rounding mode!"); in getConstrainedFPRounding()
1169 auto *RoundingMDS = MDString::get(Context, RoundingStr.value()); in getConstrainedFPRounding()