Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4259 Expected<DataLayout> MaybeDL = DataLayout::parse(S); in parseModule() local
4260 if (!MaybeDL) in parseModule()
4261 return MaybeDL.takeError(); in parseModule()
4262 TheModule->setDataLayout(MaybeDL.get()); in parseModule()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp464 Expected<DataLayout> MaybeDL = DataLayout::parse(Str); in parseTargetDefinition() local
465 if (!MaybeDL) in parseTargetDefinition()
466 return error(Loc, toString(MaybeDL.takeError())); in parseTargetDefinition()
467 M->setDataLayout(MaybeDL.get()); in parseTargetDefinition()