/external/llvm/unittests/VMCore/ |
D | MetadataTest.cpp | 33 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/ |
D | DIBuilder.cpp | 44 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 …]
|
D | DebugInfo.cpp | 57 if (MDString *MDS = dyn_cast_or_null<MDString>(DbgNode->getOperand(Elt))) in getStringField()
|
/external/llvm/include/llvm/ |
D | Metadata.h | 38 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/ |
D | Metadata.cpp | 32 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()
|
D | DebugInfoProbe.cpp | 148 if (MDString *MDS = dyn_cast_or_null<MDString>( in finalize()
|
D | LLVMContextImpl.h | 132 StringMap<MDString*> MDStringCache;
|
D | Value.cpp | 142 } else if (isa<MDString>(V)) in getSymTab()
|
D | AsmWriter.cpp | 1008 if (const MDString *MDS = dyn_cast<MDString>(V)) { in WriteAsOperandInternal() 2016 } else if (isa<InlineAsm>(this) || isa<MDString>(this) || in print()
|
D | Verifier.cpp | 489 if (isa<Constant>(Op) || isa<MDString>(Op)) in visitMDNode()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 122 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()
|
D | BitcodeWriter.cpp | 550 } else if (const MDString *MDS = dyn_cast<MDString>(Vals[i].first)) { in WriteModuleMetadata()
|
/external/llvm/lib/Transforms/Utils/ |
D | LowerExpectIntrinsic.cpp | 68 Vec[0] = MDString::get(Context, "branch_weights"); in HandleSwitchExpect() 114 MDString::get(Context, "branch_weights"), in HandleIfExpect()
|
D | ValueMapper.cpp | 35 if (isa<GlobalValue>(V) || isa<MDString>(V)) in MapValue()
|
/external/llvm/test/Linker/ |
D | linkmdnode2.ll | 9 ;; Intrinsic using MDNode and MDString
|
/external/llvm/lib/AsmParser/ |
D | LLParser.h | 34 class MDString; variable 64 MDString *MDStringVal; 211 bool ParseMDString(MDString *&Result);
|
D | LLParser.cpp | 442 bool LLParser::ParseMDString(MDString *&Result) { in ParseMDString() 445 Result = MDString::get(Context, Str); in ParseMDString()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 71 llvm::MDString::get(VMContext, NameStr), in getTBAAInfoForNamedType()
|
D | CGObjCGNU.cpp | 1059 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()
|
D | CodeGenModule.cpp | 2278 llvm::MDString *CoverageFile = in EmitCoverageFile() 2279 llvm::MDString::get(Ctx, getCodeGenOpts().CoverageFile); in EmitCoverageFile()
|
D | CGObjC.cpp | 1470 llvm::Value *string = llvm::MDString::get(getLLVMContext(), assembly); in EmitARCRetainAutoreleasedReturnValue()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 336 MDString *GCovFile = dyn_cast<MDString>(N->getOperand(0)); in mangleName()
|
/external/llvm/lib/CodeGen/ |
D | LiveDebugVariables.cpp | 315 if (const MDString *MDS = dyn_cast<MDString>(variable->getOperand(2))) in print()
|
D | MachineInstr.cpp | 1443 if (const MDString *MDS = dyn_cast<MDString>(MD->getOperand(2))) in print()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ObjCARC.cpp | 3223 const MDString *RetainRVMarker; 3453 if (const MDString *S = dyn_cast<MDString>(N->getOperand(0))) in doInitialization()
|