Home
last modified time | relevance | path

Searched refs:VMI (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp145 const VariantMatchInfo &VMI, const OMPContext &Ctx, in isVariantApplicableInContextHelper() argument
155 if (VMI.RequiredTraits.test( in isVariantApplicableInContextHelper()
158 if (VMI.RequiredTraits.test( in isVariantApplicableInContextHelper()
194 for (unsigned Bit : VMI.RequiredTraits.set_bits()) { in isVariantApplicableInContextHelper()
277 for (unsigned Bit : VMI.RequiredTraits.set_bits()) { in getVariantMatchScore()
280 if (VMI.ScoreMap.count(Property)) { in getVariantMatchScore()
327 for (TraitProperty Property : VMI.ConstructTraits) { in getVariantMatchScore()
349 const VariantMatchInfo &VMI = VMIs[u]; in getBestVariantMatchForContext() local
363 if (isStrictSubset(VMI, *BestVMI)) in getBestVariantMatchForContext()
366 if (!isStrictSubset(*BestVMI, VMI)) in getBestVariantMatchForContext()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRemoveRedundantDebugValues.cpp94 auto VMI = VariableMap.find(Var); in reduceDbgValsForwardScan() local
101 if (MI.isDebugValueList() && VMI != VariableMap.end()) { in reduceDbgValsForwardScan()
102 VariableMap.erase(VMI); in reduceDbgValsForwardScan()
109 if (VMI != VariableMap.end()) in reduceDbgValsForwardScan()
110 VariableMap.erase(VMI); in reduceDbgValsForwardScan()
115 if (VMI == VariableMap.end() || in reduceDbgValsForwardScan()
116 VMI->second.first->getReg() != Loc.getReg() || in reduceDbgValsForwardScan()
117 VMI->second.second != MI.getDebugExpression()) { in reduceDbgValsForwardScan()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1032 for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end(); in AddAliasScopeMetadata() local
1033 VMI != VMIE; ++VMI) { in AddAliasScopeMetadata()
1034 if (const Instruction *I = dyn_cast<Instruction>(VMI->first)) { in AddAliasScopeMetadata()
1035 if (!VMI->second) in AddAliasScopeMetadata()
1038 Instruction *NI = dyn_cast<Instruction>(VMI->second); in AddAliasScopeMetadata()
1363 ValueToValueMapTy::iterator VMI = VMap.find(OrigCall); in UpdateCallGraphAfterInlining() local
1365 if (VMI == VMap.end() || VMI->second == nullptr) in UpdateCallGraphAfterInlining()
1370 auto *NewCall = dyn_cast<CallBase>(VMI->second); in UpdateCallGraphAfterInlining()
H A DBasicBlockUtils.cpp422 auto VMI = VariableMap.find(Key); in removeRedundantDbgInstrsUsingForwardScan() local
426 if (VMI == VariableMap.end() || VMI->second.first != Values || in removeRedundantDbgInstrsUsingForwardScan()
427 VMI->second.second != DVI->getExpression()) { in removeRedundantDbgInstrsUsingForwardScan()
/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMPContext.h183 bool isVariantApplicableInContext(const VariantMatchInfo &VMI,
/llvm-project-15.0.7/clang/lib/AST/
H A DOpenMPClause.cpp2407 VariantMatchInfo &VMI) const { in getAsVariantMatchInfo()
2422 VMI.addTrait(CondVal->isZero() ? TraitProperty::user_condition_false in getAsVariantMatchInfo()
2426 VMI.addTrait(TraitProperty::user_condition_false, "<condition>"); in getAsVariantMatchInfo()
2436 VMI.addTrait(TraitProperty::user_condition_false, in getAsVariantMatchInfo()
2441 VMI.addTrait(Set.Kind, Property.Kind, Property.RawString, ScorePtr); in getAsVariantMatchInfo()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseOpenMP.cpp2224 VariantMatchInfo VMI; in ParseOpenMPDeclarativeDirectiveWithExtDecl() local
2225 TI.getAsVariantMatchInfo(ASTCtx, VMI); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2238 if (isVariantApplicableInContext(VMI, OMPCtx, /* DeviceSetOnly */ true)) { in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2577 VariantMatchInfo VMI; in ParseOpenMPDeclarativeOrExecutableDirective() local
2578 TI.getAsVariantMatchInfo(ASTContext, VMI); in ParseOpenMPDeclarativeOrExecutableDirective()
2580 VMIs.push_back(VMI); in ParseOpenMPDeclarativeOrExecutableDirective()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp230 const auto &VMI = GUIDToValueIdMap.find(ValGUID); in getValueId() local
233 assert(VMI != GUIDToValueIdMap.end() && in getValueId()
235 return VMI->second; in getValueId()
503 auto VMI = GUIDToValueIdMap.find(ValGUID); in getValueId() local
504 if (VMI == GUIDToValueIdMap.end()) in getValueId()
506 return VMI->second; in getValueId()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp188 const auto &VMI = GUIDToValueIdMap.find(ValGUID); in getValueId() local
191 assert(VMI != GUIDToValueIdMap.end() && in getValueId()
193 return VMI->second; in getValueId()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1401 auto VMI = FuncInfo.ValueMap.find(V); in handleDebugValue() local
1402 if (VMI != FuncInfo.ValueMap.end()) { in handleDebugValue()
1403 unsigned Reg = VMI->second; in handleDebugValue()
2068 DenseMap<const Value *, Register>::iterator VMI = FuncInfo.ValueMap.find(V); in CopyToExportRegsIfNeeded() local
2069 if (VMI != FuncInfo.ValueMap.end()) { in CopyToExportRegsIfNeeded()
2071 CopyValueToVirtualRegister(V, VMI->second); in CopyToExportRegsIfNeeded()
5679 VMI = FuncInfo.ValueMap.find(V); in EmitFuncArgumentDbgValue() local
5680 if (VMI != FuncInfo.ValueMap.end()) { in EmitFuncArgumentDbgValue()
5682 RegsForValue RFV(V->getContext(), TLI, DAG.getDataLayout(), VMI->second, in EmitFuncArgumentDbgValue()
5689 Op = MachineOperand::CreateReg(VMI->second, false); in EmitFuncArgumentDbgValue()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp7205 VariantMatchInfo VMI; in ActOnOpenMPCall() local
7207 TI.getAsVariantMatchInfo(Context, VMI); in ActOnOpenMPCall()
7208 if (!isVariantApplicableInContext(VMI, OMPCtx, in ActOnOpenMPCall()
7212 VMIs.push_back(VMI); in ActOnOpenMPCall()
7596 VariantMatchInfo VMI; in ActOnOpenMPDeclareVariantDirective() local
7597 TI.getAsVariantMatchInfo(Context, VMI); in ActOnOpenMPDeclareVariantDirective()
7599 VMI.ConstructTraits, in ActOnOpenMPDeclareVariantDirective()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOpenMPClause.h8844 llvm::omp::VariantMatchInfo &VMI) const;