Home
last modified time | relevance | path

Searched refs:MDString (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/unittests/VMCore/
DMetadataTest.cpp33 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3)); in TEST_F()
35 MDString *s2 = MDString::get(Context, StringRef(&x[0], 3)); in TEST_F()
45 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3)); in TEST_F()
46 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3)); in TEST_F()
54 MDString *s = MDString::get(Context, StringRef(str, 13)); in TEST_F()
67 MDString *s = MDString::get(Context, StringRef(str+0, 5)); in TEST_F()
81 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3)); in TEST_F()
82 MDString *s2 = MDString::get(Context, StringRef(&y[0], 3)); in TEST_F()
/external/llvm/lib/Analysis/
DDIBuilder.cpp44 MDString::get(VMContext, Filename), in createCompileUnit()
45 MDString::get(VMContext, Directory), in createCompileUnit()
46 MDString::get(VMContext, Producer), in createCompileUnit()
50 MDString::get(VMContext, Flags), in createCompileUnit()
66 MDString::get(VMContext, Filename), in createFile()
67 MDString::get(VMContext, Directory), in createFile()
77 MDString::get(VMContext, Name), in createEnumerator()
93 MDString::get(VMContext, Name), in createBasicType()
112 MDString::get(VMContext, StringRef()), // Empty name. in createQualifiedType()
131 MDString::get(VMContext, Name), in createPointerType()
[all …]
DDebugInfo.cpp57 if (MDString *MDS = dyn_cast_or_null<MDString>(DbgNode->getOperand(Elt))) in getStringField()
/external/llvm/include/llvm/
DMetadata.h38 class MDString : public Value {
39 MDString(const MDString &); // DO NOT IMPLEMENT
42 explicit MDString(LLVMContext &C, StringRef S);
45 static MDString *get(LLVMContext &Context, StringRef Str);
46 static MDString *get(LLVMContext &Context, const char *Str) { in get()
65 static inline bool classof(const MDString *) { return true; } in classof() argument
/external/llvm/lib/VMCore/
DMetadata.cpp32 MDString::MDString(LLVMContext &C, StringRef S) in MDString() function in MDString
35 MDString *MDString::get(LLVMContext &Context, StringRef Str) { in get()
37 StringMapEntry<MDString *> &Entry = in get()
39 MDString *&S = Entry.getValue(); in get()
40 if (!S) S = new MDString(Context, Entry.getKey()); in get()
DDebugInfoProbe.cpp148 if (MDString *MDS = dyn_cast_or_null<MDString>( in finalize()
DLLVMContextImpl.h132 StringMap<MDString*> MDStringCache;
DValue.cpp142 } else if (isa<MDString>(V)) in getSymTab()
DAsmWriter.cpp1008 if (const MDString *MDS = dyn_cast<MDString>(V)) { in WriteAsOperandInternal()
2016 } else if (isa<InlineAsm>(this) || isa<MDString>(this) || in print()
DVerifier.cpp489 if (isa<Constant>(Op) || isa<MDString>(Op)) in visitMDNode()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp122 if (isa<MDNode>(V) || isa<MDString>(V)) { in getValueID()
194 if (isa<MDNode>(V) || isa<MDString>(V)) in EnumerateMDNodeOperands()
204 assert((isa<MDNode>(MD) || isa<MDString>(MD)) && "Invalid metadata kind"); in EnumerateMetadata()
269 assert(!isa<MDNode>(V) && !isa<MDString>(V) && in EnumerateValue()
382 } else if (isa<MDString>(V) || isa<MDNode>(V)) in EnumerateOperandType()
DBitcodeWriter.cpp550 } else if (const MDString *MDS = dyn_cast<MDString>(Vals[i].first)) { in WriteModuleMetadata()
/external/llvm/lib/Transforms/Utils/
DLowerExpectIntrinsic.cpp68 Vec[0] = MDString::get(Context, "branch_weights"); in HandleSwitchExpect()
114 MDString::get(Context, "branch_weights"), in HandleIfExpect()
DValueMapper.cpp35 if (isa<GlobalValue>(V) || isa<MDString>(V)) in MapValue()
/external/llvm/test/Linker/
Dlinkmdnode2.ll9 ;; Intrinsic using MDNode and MDString
/external/llvm/lib/AsmParser/
DLLParser.h34 class MDString; variable
64 MDString *MDStringVal;
211 bool ParseMDString(MDString *&Result);
DLLParser.cpp442 bool LLParser::ParseMDString(MDString *&Result) { in ParseMDString()
445 Result = MDString::get(Context, Str); in ParseMDString()
/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp71 llvm::MDString::get(VMContext, NameStr), in getTBAAInfoForNamedType()
DCGObjCGNU.cpp1059 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSendSuper()
1060 llvm::MDString::get(VMContext, Class->getSuperClass()->getNameAsString()), in GenerateMessageSendSuper()
1134 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSend()
1135 llvm::MDString::get(VMContext, Class ? Class->getNameAsString() :""), in GenerateMessageSend()
DCodeGenModule.cpp2278 llvm::MDString *CoverageFile = in EmitCoverageFile()
2279 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageFile); in EmitCoverageFile()
DCGObjC.cpp1470 llvm::Value *string = llvm::MDString::get(getLLVMContext(), assembly); in EmitARCRetainAutoreleasedReturnValue()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp336 MDString *GCovFile = dyn_cast<MDString>(N->getOperand(0)); in mangleName()
/external/llvm/lib/CodeGen/
DLiveDebugVariables.cpp315 if (const MDString *MDS = dyn_cast<MDString>(variable->getOperand(2))) in print()
DMachineInstr.cpp1443 if (const MDString *MDS = dyn_cast<MDString>(MD->getOperand(2))) in print()
/external/llvm/lib/Transforms/Scalar/
DObjCARC.cpp3223 const MDString *RetainRVMarker;
3453 if (const MDString *S = dyn_cast<MDString>(N->getOperand(0))) in doInitialization()

12