/external/google-breakpad/src/tools/linux/md2core/ |
minidump_memory_range.h | 71 // Gets a STL string from a MDString at |sub_offset| bytes of this memory 76 const MDString* md_str = GetData<MDString>(sub_offset);
|
minidump_memory_range_unittest.cc | 227 MDString* md_str = reinterpret_cast<MDString*>(buffer); 236 sizeof(MDString) + (md_str->length + 1) * sizeof(uint16_t); 238 md_str = reinterpret_cast<MDString*>(buffer + str2_offset); 256 sizeof(buffer) - sizeof(MDString) + 1));
|
/external/llvm/include/llvm/IR/ |
DebugInfoMetadata.h | 46 /// \brief Pointer union between a subclass of DINode and MDString. 48 /// \a DICompositeType can be referenced via an \a MDString unique identifier. 50 /// node of a particular type or an \a MDString. 60 assert((!MD || isa<MDString>(MD) || isa<T>(MD)) && "Expected valid ref"); 77 /// Get a reference to \c N, using an \a MDString reference if available. 87 auto *S = cast<MDString>(MD); 165 if (auto *S = getOperandAs<MDString>(I)) 170 static MDString *getCanonicalMDString(LLVMContext &Context, StringRef S) { 173 return MDString::get(Context, S); 244 /// (possibly empty) null-separated \a MDString header that contains arbitrar [all...] |
MDBuilder.h | 30 class MDString; 39 MDString *createString(StringRef Str);
|
Metadata.h | 507 /// MDString is always unnamed. 508 class MDString : public Metadata { 509 friend class StringMapEntry<MDString>; 511 MDString(const MDString &) = delete; 512 MDString &operator=(MDString &&) = delete; 513 MDString &operator=(const MDString &) = delete; 515 StringMapEntry<MDString> *Entry [all...] |
DebugInfo.h | 37 typedef DenseMap<const MDString *, DIType *> DITypeIdentifierMap;
|
/external/llvm/unittests/IR/ |
MDBuilderTest.cpp | 27 MDString *Str0 = MDHelper.createString(""); 28 MDString *Str1 = MDHelper.createString("string"); 78 EXPECT_TRUE(isa<MDString>(R0->getOperand(0))); 79 EXPECT_EQ(cast<MDString>(R0->getOperand(0))->getString(), "Root"); 95 EXPECT_TRUE(isa<MDString>(N0->getOperand(0))); 96 EXPECT_TRUE(isa<MDString>(N1->getOperand(0))); 97 EXPECT_TRUE(isa<MDString>(N2->getOperand(0))); 98 EXPECT_EQ(cast<MDString>(N0->getOperand(0))->getString(), "Node"); 99 EXPECT_EQ(cast<MDString>(N1->getOperand(0))->getString(), "edoN"); 100 EXPECT_EQ(cast<MDString>(N2->getOperand(0))->getString(), "Node") [all...] |
/external/google-breakpad/src/google_breakpad/common/ |
minidump_size.h | 55 class minidump_size<MDString> {
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSIsThreadablePass.cpp | 113 llvm::MDString *val = 114 llvm::MDString::get(context, (threadable) ? "yes" : "no");
|
RSScriptGroupFusion.cpp | 305 llvm::MDString* nameMDStr = llvm::MDString::get(ctxt, fusedName); 311 llvm::MDString* sigMDStr = llvm::MDString::get(ctxt, 348 llvm::MDString* strMD = llvm::MDString::get(module->getContext(), newName);
|
/external/llvm/lib/IR/ |
DebugInfoMetadata.cpp | 164 static StringRef getString(const MDString *S) { 171 static bool isCanonical(const MDString *S) { 177 MDString *Header, 193 assert(isCanonical(Header) && "Expected canonical MDString"); 238 MDString *Name, StorageType Storage, 240 assert(isCanonical(Name) && "Expected canonical MDString"); 247 MDString *Name, uint64_t SizeInBits, 250 assert(isCanonical(Name) && "Expected canonical MDString"); 259 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, 263 assert(isCanonical(Name) && "Expected canonical MDString"); [all...] |
Module.cpp | 304 dyn_cast_or_null<MDString>(Flag->getOperand(1))) { 307 MDString *Key = cast<MDString>(Flag->getOperand(1)); 348 MDString::get(Context, Key), Val}; 364 isa<MDString>(Node->getOperand(1)) &&
|
MDBuilder.cpp | 20 MDString *MDBuilder::createString(StringRef Str) { 21 return MDString::get(Context, Str);
|
/external/clang/lib/CodeGen/ |
CGLoopInfo.cpp | 37 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.width"), 45 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.interleave.count"), 53 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.count"), 61 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.enable"), 77 Metadata *Vals[] = {MDString::get(Ctx, Name)};
|
SanitizerMetadata.cpp | 42 GlobalName = llvm::MDString::get(VMContext, Name); 88 llvm::MDString::get(VMContext, PLoc.getFilename()),
|
CodeGenFunction.cpp | 446 addressQuals.push_back(llvm::MDString::get(Context, "kernel_arg_addr_space")); 450 accessQuals.push_back(llvm::MDString::get(Context, "kernel_arg_access_qual")); 454 argTypeNames.push_back(llvm::MDString::get(Context, "kernel_arg_type")); 459 llvm::MDString::get(Context, "kernel_arg_base_type")); 463 argTypeQuals.push_back(llvm::MDString::get(Context, "kernel_arg_type_qual")); 467 argNames.push_back(llvm::MDString::get(Context, "kernel_arg_name")); 490 argTypeNames.push_back(llvm::MDString::get(Context, typeName)); 502 argBaseTypeNames.push_back(llvm::MDString::get(Context, baseTypeName)); 529 argTypeNames.push_back(llvm::MDString::get(Context, typeName)); 539 argBaseTypeNames.push_back(llvm::MDString::get(Context, baseTypeName)) [all...] |
/frameworks/compile/slang/ |
slang_backend.cpp | 276 Pragma.push_back(llvm::MDString::get(mLLVMContext, I->first)); 278 Pragma.push_back(llvm::MDString::get(mLLVMContext, I->second)); 531 llvm::MDString::get(mLLVMContext, EV->getName().c_str())); 539 llvm::MDString::get( 548 llvm::MDString::get( 555 llvm::MDString::get( 572 llvm::MDString::get(mLLVMContext, 589 llvm::MDString::get(mLLVMContext, llvm::utostr_32(slotCount)))); 612 ExportFuncInfo.push_back(llvm::MDString::get(mLLVMContext, 728 llvm::MDString::get(mLLVMContext, HelperFunctionName.c_str())) [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUOpenCLImageTypeLoweringPass.cpp | 100 MDString *StringNode = dyn_cast<MDString>(ArgNode->getOperand(0)); 111 return cast<MDString>(ArgAQNode->getOperand(ArgIdx + 1))->getString(); 117 return cast<MDString>(ArgTypeNode->getOperand(ArgIdx + 1))->getString(); 275 ArgMD[2] = ArgMD[3] = MDString::get(*Context, ImageSizeArgMDType); 280 ArgMD[2] = ArgMD[3] = MDString::get(*Context, ImageFormatArgMDType);
|
/external/google-breakpad/src/client/ |
minidump_file_writer.h | 94 // Copy the contents of |str| to a MDString and write it to the file. 139 // Copy |length| characters from |str| to |mdstring|. These are distinct 140 // because the underlying MDString is a UTF-16 based string. The wchar_t 141 // variant may need to create a MDString that has more characters than the 145 TypedMDRVA<MDString> *mdstring); 147 TypedMDRVA<MDString> *mdstring);
|
minidump_file_writer.cc | 100 TypedMDRVA<MDString> *mdstring) { 103 // Shortcut if wchar_t is the same size as MDString's buffer 104 result = mdstring->Copy(str, mdstring->get()->length); 124 result = mdstring->CopyIndexAfterObject(out_idx, out, out_size); 133 TypedMDRVA<MDString> *mdstring) { 151 result = mdstring->CopyIndexAfterObject(out_idx, out, out_size); 163 // Calculate the mdstring length by either limiting to |length| as passed i [all...] |
/external/llvm/lib/Analysis/ |
TypeBasedAliasAnalysis.cpp | 32 // an MDString, which uniquely identifies the type. The most important 377 if (MDString *Tag1 = dyn_cast<MDString>(getOperand(0))) { 390 if (MDString *Tag1 = dyn_cast<MDString>(Tag->getOperand(0))) {
|
/frameworks/compile/libbcc/lib/Core/ |
Source.cpp | 195 llvm::MDString *val = llvm::MDString::get(context, buildChecksum);
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 69 const MDString *RetainRVMarker; 660 if (const MDString *S = dyn_cast<MDString>(N->getOperand(0)))
|
/external/llvm/lib/Transforms/Utils/ |
LoopUnrollRuntime.cpp | 236 const MDString *S = dyn_cast<MDString>(MD->getOperand(0)); 246 DisableOperands.push_back(MDString::get(Context, "llvm.loop.unroll.disable"));
|
/external/llvm/bindings/go/llvm/ |
IRBindings.cpp | 57 return wrap(MDString::get(*unwrap(C), StringRef(Str, SLen)));
|