Lines Matching refs:Uuid
1408 // Sema has verified that IIDSource has a __declspec(uuid()), and that its
1410 StringRef Uuid = E->getUuidAsStringRef(Context);
1411 std::string Name = "_GUID_" + Uuid.lower();
1421 llvm::Constant *Init = EmitUuidofInitializer(Uuid);
3856 llvm::Constant *CodeGenModule::EmitUuidofInitializer(StringRef Uuid) {
3857 // Sema has checked that all uuid strings are of the form
3859 Uuid.size() == 36);
3861 if (i == 8 || i == 13 || i == 18 || i == 23) assert(Uuid[i] == '-');
3862 else assert(isHexDigit(Uuid[i]));
3865 // The starts of all bytes of Field3 in Uuid. Field 3 is "1234-1234567890ab".
3871 Int8Ty, Uuid.substr(Field3ValueOffsets[Idx], 2), 16);
3874 llvm::ConstantInt::get(Int32Ty, Uuid.substr(0, 8), 16),
3875 llvm::ConstantInt::get(Int16Ty, Uuid.substr(9, 4), 16),
3876 llvm::ConstantInt::get(Int16Ty, Uuid.substr(14, 4), 16),