Searched refs:MDName (Results 1 – 8 of 8) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | LLVMContext.cpp | 114 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/ |
D | SPIRVRegularizeLLVM.cpp | 150 for (auto &MDName:MDs) { in regularize() local 151 if (II->getMetadata(MDName)) { in regularize() 152 II->setMetadata(MDName, nullptr); in regularize()
|
D | OCLTypeToSPIRV.h | 74 MDNode *getArgMetadata(Function *, const std::string& MDName);
|
D | OCLTypeToSPIRV.cpp | 205 OCLTypeToSPIRV::getArgMetadata(Function *F, const std::string &MDName) { in getArgMetadata() argument 218 if (Name == MDName) { in getArgMetadata()
|
D | SPIRVReader.cpp | 155 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()
|
D | SPIRVUtil.cpp | 904 getNamedMDAsStringSet(Module *M, const std::string &MDName) { in getNamedMDAsStringSet() argument 905 NamedMDNode *NamedMD = M->getNamedMetadata(MDName); in getNamedMDAsStringSet()
|
D | SPIRVInternal.h | 769 const std::string &MDName);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 759 MDString *MDName = cast<MDString>(MD.second->getOperand(0)); in copyMetadata() local 760 if (MDName->getString() == "branch_weights") { in copyMetadata()
|