Home
last modified time | relevance | path

Searched refs:VarName (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp58 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
65 const std::string &VarName, std::string &Case,
81 int CodeEmitterGen::getVariableBit(const std::string &VarName, BitsInit *BI, in getVariableBit() argument
85 if (VI->getName() == VarName) in getVariableBit()
88 if (VI->getName() == VarName) in getVariableBit()
97 const std::string &VarName, in addCodeToMergeInOperand() argument
108 if (getVariableBit(VarName, BI, bit) != -1) in addCodeToMergeInOperand()
124 if (CGI.Operands.hasSubOperandAlias(VarName, SubOp)) { in addCodeToMergeInOperand()
126 } else if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in addCodeToMergeInOperand()
130 PrintError(R, Twine("No operand named ") + VarName + " in record " + in addCodeToMergeInOperand()
[all …]
H A DGlobalISelCombinerMatchTableEmitter.cpp
H A DGICombinerEmitter.cpp
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h169 StringRef VarName;
174 UndefVarError(StringRef VarName) : VarName(VarName) {}
176 StringRef getVarName() const { return VarName; }
184 OS << "undefined variable: " << VarName; in ExpressionLiteral()
357 Substitution(FileCheckPatternContext *Context, StringRef VarName,
359 : Context(Context), FromStr(VarName), InsertIdx(InsertIdx) {}
376 StringSubstitution(FileCheckPatternContext *Context, StringRef VarName,
378 : Substitution(Context, VarName, InsertId
199 UndefVarError(StringRef VarName) UndefVarError() argument
383 Substitution(FileCheckPatternContext * Context,StringRef VarName,size_t InsertIdx) Substitution() argument
402 StringSubstitution(FileCheckPatternContext * Context,StringRef VarName,size_t InsertIdx) StringSubstitution() argument
[all...]
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.h29 const char *VarName; member
33 LiveVariable(const DWARFLocationExpression &LocExpr, const char *VarName, in LiveVariable()
35 : LocExpr(LocExpr), VarName(VarName), Unit(Unit), FuncDie(FuncDie) {} in LiveVariable()
H A DSourcePrinter.cpp57 const char *VarName = VarDie.getName(DINameKind::ShortName); in addVariable() local
72 LiveVariables.emplace_back(LocExpr, VarName, U, FuncDie); in addVariable()
80 LiveVariables.emplace_back(WholeFuncExpr, VarName, U, FuncDie); in addVariable()
134 dbgs() << LV.VarName << " @ " << LV.LocExpr.Range << ": "; in dump()
167 << NextAddr.Address << ", " << LV.VarName << ", Col " in update()
190 << NextAddr.Address << ", " << LV.VarName << ", Col " in update()
288 << LiveVariables[ActiveCols[ColIdx].VarIdx].VarName; in printBetweenInsts()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DAsmWriterInst.cpp122 StringRef VarName(AsmString.data() + DollarPos + 1, in AsmWriterInst() local
166 if (VarName.empty() && Modifier.empty()) in AsmWriterInst()
171 if (VarName.empty()) { in AsmWriterInst()
176 unsigned OpNo = CGI.Operands.getOperandNamed(VarName); in AsmWriterInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h385 const std::string VarName; variable
397 const std::string &VarName) in OffloadEntryInfoDeviceGlobalVar() argument
399 VarSize(VarSize), Linkage(Linkage), VarName(VarName) { in OffloadEntryInfoDeviceGlobalVar()
404 StringRef getVarName() const { return VarName; } in getVarName()
420 void registerDeviceGlobalVarEntryInfo(StringRef VarName, Constant *Addr,
425 bool hasDeviceGlobalVarEntryInfo(StringRef VarName) const { in hasDeviceGlobalVarEntryInfo() argument
426 return OffloadEntriesDeviceGlobalVar.count(VarName) > 0; in hasDeviceGlobalVarEntryInfo()
2114 std::string VarName);
2119 std::string VarName);
2868 #define OMP_TYPE(VarName, InitValue) Type *VarName = nullptr; argument
[all …]
H A DOMPKinds.def25 #define OMP_TYPE(VarName, InitValue)
28 #define __OMP_TYPE(VarName) OMP_TYPE(VarName, Type::get##VarName##Ty(Ctx))
29 #define __OMP_PTR_TYPE(VarName) OMP_TYPE(VarName, PointerType::get(Ctx, 0))
65 #define OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize)
68 #define __OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize) \
69 OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize)
84 #define OMP_STRUCT_TYPE(VarName, StructName, Packed, ...)
87 #define __OMP_STRUCT_TYPE(VarName, Name, Packed, ...) \
88 OMP_STRUCT_TYPE(VarName, "struct." #Name, Packed, __VA_ARGS__)
109 #define OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, ...)
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclOpenMP.h296 DeclarationName VarName; variable
303 QualType Ty, DeclarationName VarName, in OMPDeclareMapperDecl() argument
306 DeclContext(OMPDeclareMapper), VarName(VarName), in OMPDeclareMapperDecl()
317 QualType T, DeclarationName VarName,
359 DeclarationName getVarName() { return VarName; } in getVarName()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp315 GlobalVariable *getOrCreateBiasVar(StringRef VarName);
363 void maybeSetComdat(GlobalVariable *GV, GlobalObject *GO, StringRef VarName);
1080 GlobalVariable *InstrLowerer::getOrCreateBiasVar(StringRef VarName) { in getOrCreateBiasVar() argument
1081 GlobalVariable *Bias = M.getGlobalVariable(VarName); in getOrCreateBiasVar()
1091 Constant::getNullValue(Int64Ty), VarName); in getOrCreateBiasVar()
1098 Bias->setComdat(M.getOrInsertComdat(VarName)); in getOrCreateBiasVar()
1608 std::string VarName; in setupProfileSection() local
1611 VarName = getVarName(Inc, VarPrefix, Renamed); in setupProfileSection()
1613 Ptr = createRegionCounters(CntrIncrement, VarName, Linkage); in setupProfileSection()
1616 VarName = getVarName(Inc, VarPrefix, Renamed); in setupProfileSection()
[all …]
H A DMemProfiler.cpp527 const StringRef VarName(MemProfHistogramFlagVar); in createMemprofHistogramFlagVar() local
531 Constant::getIntegerValue(IntTy1, APInt(1, ClHistogram)), VarName); in createMemprofHistogramFlagVar()
535 MemprofHistogramFlag->setComdat(M.getOrInsertComdat(VarName)); in createMemprofHistogramFlagVar()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclOpenMP.cpp146 QualType T, DeclarationName VarName, ArrayRef<OMPClause *> Clauses, in Create() argument
149 C, DC, Clauses, 1, L, Name, T, VarName, PrevDeclInScope); in Create()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1238 Init *VarName; variable
1241 : TypedInit(IK_VarInit, T), VarName(VN) {} in VarInit()
1255 Init *getNameInit() const { return VarName; } in getNameInit()
2225 virtual Init *resolve(Init *VarName) = 0;
2257 bool isComplete(Init *VarName) const { in isComplete() argument
2258 auto It = Map.find(VarName); in isComplete()
2263 Init *resolve(Init *VarName) override;
2277 Init *resolve(Init *VarName) override;
2295 Init *resolve(Init *VarName) override { in resolve() argument
2296 if (Shadowed.count(VarName)) in resolve()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp624 llvm::Constant *VarName = makeConstantString(getDeviceSideName(Info.D)); in makeRegisterGlobalsFn() local
638 VarName, in makeRegisterGlobalsFn()
647 VarName, in makeRegisterGlobalsFn()
648 VarName, in makeRegisterGlobalsFn()
660 {&GpuBinaryHandlePtr, Var, VarName, VarName, in makeRegisterGlobalsFn()
667 {&GpuBinaryHandlePtr, Var, VarName, VarName, in makeRegisterGlobalsFn()
H A DCodeGenPGO.cpp1336 const StringRef VarName(INSTR_PROF_QUOTE(INSTR_PROF_RAW_VERSION_VAR)); in setProfileVersion() local
1345 VarName); in setProfileVersion()
1351 IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName)); in setProfileVersion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp569 #define OMP_TYPE(VarName, ...) \ in initializeRuntimeFunctions() argument
570 Type *VarName = OMPBuilder.VarName; \ in initializeRuntimeFunctions()
571 (void)VarName; in initializeRuntimeFunctions()
573 #define OMP_ARRAY_TYPE(VarName, ...) \ in initializeRuntimeFunctions() argument
574 ArrayType *VarName##Ty = OMPBuilder.VarName##Ty; \ in initializeRuntimeFunctions()
575 (void)VarName##Ty; \ in initializeRuntimeFunctions()
576 PointerType *VarName##PtrTy = OMPBuilder.VarName##PtrTy; \ in initializeRuntimeFunctions()
577 (void)VarName##PtrTy; in initializeRuntimeFunctions()
579 #define OMP_FUNCTION_TYPE(VarName, ...) \ in initializeRuntimeFunctions() argument
580 FunctionType *VarName = OMPBuilder.VarName; \ in initializeRuntimeFunctions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp2182 if (Init *Val = R.resolve(VarName)) in resolveReferences()
3265 Init *MapResolver::resolve(Init *VarName) { in resolve() argument
3266 auto It = Map.find(VarName); in resolve()
3277 Map[VarName] = {I, true}; in resolve()
3283 Init *RecordResolver::resolve(Init *VarName) { in resolve() argument
3284 Init *Val = Cache.lookup(VarName); in resolve()
3288 if (llvm::is_contained(Stack, VarName)) in resolve()
3291 if (RecordVal *RV = getCurrentRecord()->getValue(VarName)) { in resolve()
3294 Stack.push_back(VarName); in resolve()
3298 } else if (Name && VarName == getCurrentRecord()->getNameInit()) { in resolve()
[all …]
H A DTGLexer.h167 VarName, enumerator
H A DTGParser.cpp2861 if (Lex.getCode() != tgtok::VarName) { // eat the ':' in ParseSimpleValue()
3099 if (Lex.getCode() == tgtok::VarName) { in ParseDagArgList()
3101 StringInit *VarName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDagArgList() local
3102 Result.emplace_back(UnsetInit::get(Records), VarName); in ParseDagArgList()
3113 StringInit *VarName = nullptr; in ParseDagArgList() local
3115 if (Lex.Lex() != tgtok::VarName) { // eat the ':' in ParseDagArgList()
3120 VarName = StringInit::get(Records, Lex.getCurStrVal()); in ParseDagArgList()
3124 Result.push_back(std::make_pair(Val, VarName)); in ParseDagArgList()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp790 std::string VarName = in lowerKernelScopeStructVariables() local
794 createLDSVariableReplacement(M, VarName, KernelUsedVariables); in lowerKernelScopeStructVariables()
1160 Module &M, std::string VarName, in createLDSVariableReplacement() argument
1230 StructType *LDSTy = StructType::create(Ctx, LocalVarTypes, VarName + ".t"); in createLDSVariableReplacement()
1236 VarName, nullptr, GlobalValue::NotThreadLocal, AMDGPUAS::LOCAL_ADDRESS, in createLDSVariableReplacement()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp424 std::string VarName = std::string(getInstrProfNameVarPrefix()); in getPGOFuncNameVarName() local
425 VarName += FuncName; in getPGOFuncNameVarName()
428 return VarName; in getPGOFuncNameVarName()
432 size_t FoundPos = VarName.find_first_of(InvalidChars); in getPGOFuncNameVarName()
434 VarName[FoundPos] = '_'; in getPGOFuncNameVarName()
435 FoundPos = VarName.find_first_of(InvalidChars, FoundPos + 1); in getPGOFuncNameVarName()
437 return VarName; in getPGOFuncNameVarName()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp553 #define OMP_ATTRS_SET(VarName, AttrSet) AttributeSet VarName = AttrSet; in addAttributes() argument
7215 std::string VarName) { in createOffloadMaptypes() argument
7221 VarName); in createOffloadMaptypes()
8322 std::string VarName) { in createOffloadMapnames() argument
8330 VarName); in createOffloadMapnames()
8339 #define OMP_TYPE(VarName, InitValue) VarName = InitValue; in initializeTypes() argument
8340 #define OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize) \ in initializeTypes() argument
8341 VarName##Ty = ArrayType::get(ElemTy, ArraySize); \ in initializeTypes()
8342 VarName##PtrTy = PointerType::getUnqual(VarName##Ty); in initializeTypes()
8343 #define OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, ...) \ in initializeTypes() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp6292 StringRef VarName, in Write_protocol_list_initializer() argument
6297 Result += " "; Result += VarName; in Write_protocol_list_initializer()
6316 StringRef VarName, in Write_method_list_t_initializer() argument
6322 Result += " "; Result += VarName; in Write_method_list_t_initializer()
6357 StringRef VarName, in Write_prop_list_t_initializer() argument
6362 Result += " "; Result += VarName; in Write_prop_list_t_initializer()
6410 StringRef VarName, in Write__class_ro_t_initializer() argument
6413 Result += VarName; Result += ClassName; in Write__class_ro_t_initializer()
6470 StringRef VarName, in Write_class_t() argument
6507 Result += VarName; in Write_class_t()
[all …]
/freebsd/sys/contrib/edk2/Include/Uefi/
H A DUefiInternalFormRepresentation.h816 EFI_STRING_ID VarName; member
1538 EFI_STRING_ID VarName; member
1565 EFI_STRING_ID VarName; member

12