Home
last modified time | relevance | path

Searched refs:MDName (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/VMCore/
DLLVMContext.cpp114 static bool isValidName(StringRef MDName) { in isValidName() argument
115 if (MDName.empty()) in isValidName()
118 if (!std::isalpha(MDName[0])) in isValidName()
121 for (StringRef::iterator I = MDName.begin() + 1, E = MDName.end(); I != E; in isValidName()
/external/spirv-llvm/lib/SPIRV/
DSPIRVRegularizeLLVM.cpp150 for (auto &MDName:MDs) { in regularize() local
151 if (II->getMetadata(MDName)) { in regularize()
152 II->setMetadata(MDName, nullptr); in regularize()
DOCLTypeToSPIRV.h74 MDNode *getArgMetadata(Function *, const std::string& MDName);
DOCLTypeToSPIRV.cpp205 OCLTypeToSPIRV::getArgMetadata(Function *F, const std::string &MDName) { in getArgMetadata() argument
218 if (Name == MDName) { in getArgMetadata()
DSPIRVReader.cpp155 const std::string &MDName, unsigned Major, unsigned Minor) { in addOCLVersionMetadata() argument
156 NamedMDNode *NamedMD = M->getOrInsertNamedMetadata(MDName); in addOCLVersionMetadata()
162 const std::string &MDName, const std::set<std::string> &StrSet) { in addNamedMetadataStringSet() argument
163 NamedMDNode *NamedMD = M->getOrInsertNamedMetadata(MDName); in addNamedMetadataStringSet()
173 std::vector<llvm::Metadata*> &KernelMD, const std::string &MDName, in addOCLKernelArgumentMetadata() argument
176 ValueVec.push_back(MDString::get(*Context, MDName)); in addOCLKernelArgumentMetadata()
DSPIRVUtil.cpp904 getNamedMDAsStringSet(Module *M, const std::string &MDName) { in getNamedMDAsStringSet() argument
905 NamedMDNode *NamedMD = M->getNamedMetadata(MDName); in getNamedMDAsStringSet()
DSPIRVInternal.h769 const std::string &MDName);
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp759 MDString *MDName = cast<MDString>(MD.second->getOperand(0)); in copyMetadata() local
760 if (MDName->getString() == "branch_weights") { in copyMetadata()