Searched refs:strValue (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/flang/unittests/Optimizer/Builder/ |
| H A D | CharacterTest.cpp | 49 llvm::StringRef strValue("onestringliteral"); in TEST_F() local 50 auto strLit = fir::factory::createStringLiteral(builder, loc, strValue); in TEST_F()
|
| H A D | FIRBuilderTest.cpp | 299 llvm::StringRef strValue("onestringliteral"); in TEST_F() local 300 auto strLit = fir::factory::createStringLiteral(builder, loc, strValue); in TEST_F() 315 EXPECT_EQ(fir::CharacterType::get(builder.getContext(), 1, strValue.size()), in TEST_F() 323 EXPECT_EQ(strValue, stringLit.getValue().dyn_cast<StringAttr>().getValue()); in TEST_F() 396 llvm::StringRef strValue("length"); in TEST_F() local 397 auto strLit = fir::factory::createStringLiteral(builder, loc, strValue); in TEST_F() 405 llvm::StringRef strValue("length"); in TEST_F() local 406 auto strLit = fir::factory::createStringLiteral(builder, loc, strValue); in TEST_F()
|
| /llvm-project-15.0.7/openmp/libompd/src/ |
| H A D | TargetValue.cpp | 282 TValue strValue = dereference(); in getString() local 283 if (strValue.gotError()) { in getString() 284 return strValue.getError(); in getString() 305 ret = callbacks->read_string(context, tcontext, &strValue.symbolAddr, BUF_LEN, in getString()
|
| /llvm-project-15.0.7/mlir/lib/Target/Cpp/ |
| H A D | TranslateToCpp.cpp | 730 SmallString<128> strValue; in emitAttribute() local 731 val.toString(strValue, 10, !isUnsigned, false); in emitAttribute() 732 os << strValue; in emitAttribute() 738 SmallString<128> strValue; in emitAttribute() local 740 val.toString(strValue, 0, 0, false); in emitAttribute() 751 os << strValue; in emitAttribute()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | AsmPrinter.cpp | 1601 SmallString<128> strValue; in printFloatValue() local 1602 apValue.toString(strValue, /*FormatPrecision=*/6, /*FormatMaxPadding=*/0, in printFloatValue() 1608 assert(((strValue[0] >= '0' && strValue[0] <= '9') || in printFloatValue() 1609 ((strValue[0] == '-' || strValue[0] == '+') && in printFloatValue() 1610 (strValue[1] >= '0' && strValue[1] <= '9'))) && in printFloatValue() 1615 if (APFloat(apValue.getSemantics(), strValue).bitwiseIsEqual(apValue)) { in printFloatValue() 1616 os << strValue; in printFloatValue() 1622 strValue.clear(); in printFloatValue() 1623 apValue.toString(strValue); in printFloatValue() 1626 if (strValue.str().contains('.')) { in printFloatValue() [all …]
|