Home
last modified time | relevance | path

Searched refs:parseConstantValue (Results 1 – 7 of 7) sorted by relevance

/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp77 V = parseConstantValue("double 3.5", Error, M); in TEST()
83 V = parseConstantValue("i32 42", Error, M); in TEST()
89 V = parseConstantValue("<4 x i32> <i32 0, i32 1, i32 2, i32 3>", Error, M); in TEST()
94 V = parseConstantValue("i32 add (i32 1, i32 2)", Error, M); in TEST()
98 V = parseConstantValue("i8* blockaddress(@test, %entry)", Error, M); in TEST()
102 V = parseConstantValue("i8** undef", Error, M); in TEST()
106 EXPECT_FALSE(parseConstantValue("duble 3.25", Error, M)); in TEST()
109 EXPECT_FALSE(parseConstantValue("i32 3.25", Error, M)); in TEST()
112 EXPECT_FALSE(parseConstantValue("i32* @foo", Error, M)); in TEST()
115 EXPECT_FALSE(parseConstantValue("i32 3, ", Error, M)); in TEST()
[all …]
/external/llvm/include/llvm/AsmParser/
DParser.h92 Constant *parseConstantValue(StringRef Asm, SMDiagnostic &Err, const Module &M,
/external/llvm/lib/AsmParser/
DParser.cpp70 Constant *llvm::parseConstantValue(StringRef Asm, SMDiagnostic &Err, in parseConstantValue() function in llvm
DLLParser.h363 bool parseConstantValue(Type *Ty, Constant *&C);
DLLParser.cpp67 if (ParseType(Ty) || parseConstantValue(Ty, C)) in parseStandaloneConstantValue()
4495 bool LLParser::parseConstantValue(Type *Ty, Constant *&C) { in parseConstantValue() function in LLParser
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp622 parseConstantValue(YamlConstant.Value.Value, Error, M)); in initializeConstantPool()
DMIParser.cpp1011 C = parseConstantValue(Source.c_str(), Err, *MF.getFunction()->getParent(), in parseIRConstant()