Home
last modified time | relevance | path

Searched refs:DefName (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenTarget.cpp362 std::string DefName = R->getName(); in CodeGenIntrinsic() local
368 if (DefName.size() <= 4 || in CodeGenIntrinsic()
369 std::string(DefName.begin(), DefName.begin() + 4) != "int_") in CodeGenIntrinsic()
370 throw "Intrinsic '" + DefName + "' does not start with 'int_'!"; in CodeGenIntrinsic()
372 EnumName = std::string(DefName.begin()+4, DefName.end()); in CodeGenIntrinsic()
390 throw "Intrinsic '" + DefName + "'s name does not start with 'llvm.'!"; in CodeGenIntrinsic()
399 throw "Intrinsic '" + DefName + "' does not start with 'llvm." + in CodeGenIntrinsic()
432 throw "Intrinsic '" + DefName + " has void in result type list!"; in CodeGenIntrinsic()
466 throw "Intrinsic '" + DefName + " has void in result type list!"; in CodeGenIntrinsic()
/external/llvm/utils/TableGen/
DCodeGenTarget.cpp450 std::string DefName = R->getName(); in CodeGenIntrinsic() local
459 if (DefName.size() <= 4 || in CodeGenIntrinsic()
460 std::string(DefName.begin(), DefName.begin() + 4) != "int_") in CodeGenIntrinsic()
461 PrintFatalError("Intrinsic '" + DefName + "' does not start with 'int_'!"); in CodeGenIntrinsic()
463 EnumName = std::string(DefName.begin()+4, DefName.end()); in CodeGenIntrinsic()
483 PrintFatalError("Intrinsic '" + DefName + "'s name does not start with 'llvm.'!"); in CodeGenIntrinsic()
492 PrintFatalError("Intrinsic '" + DefName + "' does not start with 'llvm." + in CodeGenIntrinsic()
525 PrintFatalError("Intrinsic '" + DefName + " has void in result type list!"); in CodeGenIntrinsic()
561 PrintFatalError("Intrinsic '" + DefName + " has void in result type list!"); in CodeGenIntrinsic()
/external/llvm/lib/TableGen/
DTGParser.cpp2330 Init *DefName = DefProto->getNameInit(); in InstantiateMulticlassDef() local
2331 StringInit *DefNameString = dyn_cast<StringInit>(DefName); in InstantiateMulticlassDef()
2336 DefName = in InstantiateMulticlassDef()
2340 DefName, StringRecTy::get())->Fold(DefProto, &MC); in InstantiateMulticlassDef()
2346 auto CurRec = make_unique<Record>(DefName, Locs, Records, IsAnonymous); in InstantiateMulticlassDef()
2380 DefName = CurRec->getNameInit(); in InstantiateMulticlassDef()
2381 DefNameString = dyn_cast<StringInit>(DefName); in InstantiateMulticlassDef()
2389 DefName = CurRec->getNameInit(); in InstantiateMulticlassDef()
2390 DefNameString = dyn_cast<StringInit>(DefName); in InstantiateMulticlassDef()
2393 DefName = DefName->convertInitializerTo(StringRecTy::get()); in InstantiateMulticlassDef()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGParser.cpp1933 std::string DefName = DefProto->getName(); in InstantiateMulticlassDef() local
1935 DefName = GetNewAnonymousName(); in InstantiateMulticlassDef()
1937 std::string::size_type idx = DefName.find("#NAME#"); in InstantiateMulticlassDef()
1939 DefName.replace(idx, 6, DefmPrefix); in InstantiateMulticlassDef()
1942 DefName = DefmPrefix + DefName; in InstantiateMulticlassDef()
1946 Record *CurRec = new Record(DefName, DefmPrefixLoc, Records); in InstantiateMulticlassDef()