Home
last modified time | relevance | path

Searched refs:VarType (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp45 auto VarType = Var.getType(); in start() local
47 uint64_t Length = VarType->getRawSymbol().getLength(); in start()
57 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
60 if (isa<PDBSymbolTypeEnum>(*VarType)) in start()
64 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
74 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
82 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveDIType.cpp109 IntegerType *VarType = Type::getInt64Ty(BB->getContext()); in BPFPreserveDITypeImpl() local
113 *M, VarType, false, GlobalVariable::ExternalLinkage, nullptr, GVName); in BPFPreserveDITypeImpl()
H A DBPFAbstractMemberAccess.cpp1068 IntegerType *VarType; in transformGEPChain() local
1070 VarType = Type::getInt32Ty(BB->getContext()); // 32bit return value in transformGEPChain()
1072 VarType = Type::getInt64Ty(BB->getContext()); // 64bit ptr or enum value in transformGEPChain()
1074 GV = new GlobalVariable(*M, VarType, false, GlobalVariable::ExternalLinkage, in transformGEPChain()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp2314 QualType VarType; member in __anonc28374260a11::CXXByrefHelpers
2320 : BlockByrefHelpers(alignment), VarType(type), CopyExpr(copyExpr) {} in CXXByrefHelpers()
2331 CGF.PushDestructorCleanup(VarType, field); in emitDispose()
2336 id.AddPointer(VarType.getCanonicalType().getAsOpaquePtr()); in profileImpl()
2343 QualType VarType; member in __anonc28374260a11::AddressDiscriminatedByrefHelpers
2347 : BlockByrefHelpers(Alignment), VarType(Type) { in AddressDiscriminatedByrefHelpers()
2353 CGF.EmitPointerAuthCopy(VarType.getPointerAuth(), VarType, DestField, in emitCopy()
2363 ID.AddPointer(VarType.getCanonicalType().getAsOpaquePtr()); in profileImpl()
2370 QualType VarType; member in __anonc28374260a11::NonTrivialCStructByrefHelpers
2374 : BlockByrefHelpers(alignment), VarType(type) {} in NonTrivialCStructByrefHelpers()
[all …]
H A DCGOpenMPRuntime.h1093 QualType VarType,
1951 QualType VarType,
H A DCGOpenMPRuntime.cpp1777 QualType VarType, in getAddrOfArtificialThreadPrivate() argument
1780 llvm::Type *VarLVType = CGF.ConvertTypeForMem(VarType); in getAddrOfArtificialThreadPrivate()
1787 CGM.getContext().getTypeAlignInChars(VarType)); in getAddrOfArtificialThreadPrivate()
1794 CGF.Builder.CreateIntCast(CGF.getTypeSize(VarType), CGM.SizeTy, in getAddrOfArtificialThreadPrivate()
1806 VarLVType, CGM.getContext().getTypeAlignInChars(VarType)); in getAddrOfArtificialThreadPrivate()
12167 CodeGenFunction &CGF, QualType VarType, StringRef Name) { in getAddrOfArtificialThreadPrivate() argument
H A DCodeGenModule.cpp6028 QualType VarType = D->getType(); in isVarDeclStrongDefinition() local
6029 if (Context.isAlignmentRequired(VarType)) in isVarDeclStrongDefinition()
6032 if (const auto *RT = VarType->getAs<RecordType>()) { in isVarDeclStrongDefinition()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1159 QualType VarType = InitVar->getType().getNonReferenceType(); in checkRangeFor() local
1161 if (!isValidLoopVariableType(VarType)) in checkRangeFor()
1169 QualType VarType = InitVar->getType().getNonReferenceType(); in checkRangeFor() local
1171 if (!isValidLoopVariableType(VarType)) { in checkRangeFor()
1173 << SemaRef.LoopWithoutSeqInfo.Kind << VarType; in checkRangeFor()
1256 QualType VarType = InitVar->getType().getNonReferenceType(); in checkForInit() local
1259 if (!isValidLoopVariableType(VarType)) { in checkForInit()
1262 << SemaRef.LoopWithoutSeqInfo.Kind << VarType; in checkForInit()
H A DSemaHLSL.cpp3605 const Type *VarType = VD->getType().getTypePtr(); in ActOnVariableDeclarator() local
3606 while (VarType->isArrayType()) in ActOnVariableDeclarator()
3607 VarType = VarType->getArrayElementTypeNoTypeQual(); in ActOnVariableDeclarator()
3608 if (VarType->isHLSLResourceRecord() || in ActOnVariableDeclarator()
H A DSemaOpenMP.cpp8631 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildNumIterations() local
8632 if (!VarType->isIntegerType() && !VarType->isPointerType() && in buildNumIterations()
8811 Step, VarType, TestIsStrictOp, in buildNumIterations()
8819 bool UseVarType = VarType->hasIntegerRepresentation() && in buildNumIterations()
8820 C.getTypeSize(Type) > C.getTypeSize(VarType); in buildNumIterations()
8823 UseVarType ? C.getTypeSize(VarType) : C.getTypeSize(Type); in buildNumIterations()
8824 bool IsSigned = UseVarType ? VarType->hasSignedIntegerRepresentation() in buildNumIterations()
8888 QualType VarType = LCDecl->getType().getNonReferenceType(); in buildMinMaxValues() local
8891 Step, VarType, TestIsStrictOp, in buildMinMaxValues()
8915 if (VarType->isAnyPointerType() && in buildMinMaxValues()
[all …]
H A DSemaStmt.cpp1259 QualType VarType = VD->getType(); in ShouldDiagnoseSwitchCaseNotInEnum() local
1261 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
1262 S.Context.hasSameUnqualifiedType(EnumType, VarType)) in ShouldDiagnoseSwitchCaseNotInEnum()
H A DSemaDeclCXX.cpp14630 QualType VarType; member in __anon42c808803a11::RefBuilder
14634 return assertNotNull(S.BuildDeclRefExpr(Var, VarType, VK_LValue, Loc)); in build()
14637 RefBuilder(VarDecl *Var, QualType VarType) in RefBuilder() argument
14638 : Var(Var), VarType(VarType) {} in RefBuilder()
H A DSemaDecl.cpp7500 QualType VarType = VD->getType().getCanonicalType(); in emitReadOnlyPlacementAttrWarning() local
7508 if (VarType->isArrayType()) { in emitReadOnlyPlacementAttrWarning()
7510 VarType = S.getASTContext().getBaseElementType(VarType); in emitReadOnlyPlacementAttrWarning()
7513 const RecordDecl *RD = VarType->getAsRecordDecl(); in emitReadOnlyPlacementAttrWarning()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp331 VariadicType VarType; member
453 IO.mapOptional("VariadicType", Propagation.VarType); in mapping()
531 bool IsSrcVariadic = P.VarType == TaintConfiguration::VariadicType::Src; in parseConfig()
532 bool IsDstVariadic = P.VarType == TaintConfiguration::VariadicType::Dst; in parseConfig()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp293 VarType, in diagnoseSubMismatchVar() enumerator
322 DiagError(VarType) << FirstName << FirstType; in diagnoseSubMismatchVar()
323 DiagNote(VarType) << SecondName << SecondType; in diagnoseSubMismatchVar()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h556 Register getOrCreateGlobalVariableWithBinding(const SPIRVType *VarType,
H A DSPIRVGlobalRegistry.cpp806 const SPIRVType *VarType, uint32_t Set, uint32_t Binding, StringRef Name, in getOrCreateGlobalVariableWithBinding() argument
811 buildGlobalVariable(VarReg, VarType, Name, nullptr, in getOrCreateGlobalVariableWithBinding()
812 getPointerStorageClass(VarType), nullptr, false, false, in getOrCreateGlobalVariableWithBinding()
H A DSPIRVInstructionSelector.cpp3442 const Type *VarType = ArrayType::get(const_cast<Type *>(ResType), ArraySize); in buildPointerToResource() local
3444 GR.getOrCreateSPIRVPointerType(VarType, MIRBuilder, SC); in buildPointerToResource()
4138 SPIRVType *VarType = ResType; in loadHandleBeforePosition() local
4142 VarType = GR.getPointeeType(ResType); in loadHandleBeforePosition()
4147 buildPointerToResource(VarType, SC, Set, Binding, ArraySize, IndexReg, in loadHandleBeforePosition()