| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | NonTrivialTypeVisitor.h | 22 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit() 23 return asDerived().visitWithKind(FT.isDestructedType(), FT, in visit() 28 RetTy visitWithKind(QualType::DestructionKind DK, QualType FT, in visitWithKind() 34 return asDerived().visitStruct(FT, std::forward<Ts>(Args)...); in visitWithKind() 51 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit() 53 FT.isNonTrivialToPrimitiveDefaultInitialize(), FT, in visit() 59 QualType FT, Ts &&... Args) { in visitWithKind() 79 template <class... Ts> RetTy visit(QualType FT, Ts &&... Args) { in visit() 81 IsMove ? FT.isNonTrivialToPrimitiveDestructiveMove() in visit() 82 : FT.isNonTrivialToPrimitiveCopy(); in visit() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 29 return Ctx.getTypeSize(FT); in getFieldSize() 45 QualType FT = FD->getType(); in visitStructFields() local 46 FT = QT.isVolatileQualified() ? FT.withVolatile() : FT; in visitStructFields() 102 Super::visitWithKind(PCK, FT, FD, CurStructOffset, in visitWithKind() 111 uint64_t FieldSize = getFieldSize(FD, FT, Ctx); in visitTrivial() 162 if (FT->isBlockPointerType()) in visitARCStrong() 168 void visitARCWeak(QualType FT, const FieldDecl *FD, in visitARCWeak() 761 CGF->MakeAddrLValue(Addrs[DstIdx], FT), in callSpecialFunction() 762 CGF->MakeAddrLValue(Addrs[SrcIdx], FT)); in callSpecialFunction() 797 CGF->MakeAddrLValue(Addrs[DstIdx], FT), in callSpecialFunction() [all …]
|
| H A D | ABIInfoImpl.cpp | 253 QualType FT = FD->getType(); in isEmptyField() local 262 FT = AT->getElementType(); in isEmptyField() 268 const RecordType *RT = FT->getAs<RecordType>(); in isEmptyField() 342 QualType FT = FD->getType(); in isSingleElementStruct() local 357 FT = AT->getElementType(); in isSingleElementStruct() 360 if (!isAggregateTypeForABI(FT)) { in isSingleElementStruct() 361 Found = FT.getTypePtr(); in isSingleElementStruct() 363 Found = isSingleElementStruct(FT, Context); in isSingleElementStruct() 443 QualType FT = i->getType(); in isRecordWithSIMDVectorType() local 445 if (isSIMDVectorType(Context, FT)) in isRecordWithSIMDVectorType() [all …]
|
| H A D | ABIInfo.cpp | 98 QualType FT = FD->getType(); in isHomogeneousAggregate() local 100 getContext().getAsConstantArrayType(FT)) { in isHomogeneousAggregate() 103 FT = AT->getElementType(); in isHomogeneousAggregate() 105 if (isEmptyRecord(getContext(), FT, true)) in isHomogeneousAggregate()
|
| H A D | CodeGenTypes.cpp | 152 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) { in isFuncTypeConvertible() argument 153 if (!isFuncParamTypeConvertible(FT->getReturnType())) in isFuncTypeConvertible() 156 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in isFuncTypeConvertible() 239 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionTypeInternal() local 243 if (!isFuncTypeConvertible(FT)) { in ConvertFunctionTypeInternal() 248 if (const RecordType *RT = FT->getReturnType()->getAs<RecordType>()) in ConvertFunctionTypeInternal() 250 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in ConvertFunctionTypeInternal() 264 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { in ConvertFunctionTypeInternal() 268 const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(FT); in ConvertFunctionTypeInternal()
|
| H A D | CodeGenABITypes.cpp | 101 if (auto FT = dyn_cast<llvm::FunctionType>(T)) in convertFreeFunctionType() local 102 return FT; in convertFreeFunctionType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 113 FunctionType *FT = F->getFunctionType(); in lookupFunction() local 114 ExtName += getTypeID(FT->getReturnType()); in lookupFunction() 115 for (Type *T : FT->params()) in lookupFunction() 324 static GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit() argument 355 static GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf() argument 440 static GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf() argument 446 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() 452 static GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf() argument 489 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_fprintf() 495 static GenericValue lle_X_memset(FunctionType *FT, in lle_X_memset() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | Coroutines.cpp | 514 auto FT = F->getFunctionType(); in checkWFRetconPrototype() local 531 if (FT->getReturnType() != in checkWFRetconPrototype() 539 if (FT->getNumParams() == 0 || !FT->getParamType(0)->isPointerTy()) in checkWFRetconPrototype() 550 auto FT = F->getFunctionType(); in checkWFAlloc() local 551 if (!FT->getReturnType()->isPointerTy()) in checkWFAlloc() 554 if (FT->getNumParams() != 1 || in checkWFAlloc() 555 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc() 565 auto FT = F->getFunctionType(); in checkWFDealloc() local 566 if (!FT->getReturnType()->isVoidTy()) in checkWFDealloc() 569 if (FT->getNumParams() != 1 || in checkWFDealloc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Arm64ECCallLowering.cpp | 79 void getThunkRetType(FunctionType *FT, AttributeList AttrList, 94 void AArch64Arm64ECCallLowering::getThunkType(FunctionType *FT, in getThunkType() argument 133 if (FT->isVarArg()) { in getThunkArgTypes() 178 if (I == FT->getNumParams()) { in getThunkArgTypes() 183 for (unsigned E = FT->getNumParams(); I != E; ++I) { in getThunkArgTypes() 194 canonicalizeThunkType(FT->getParamType(I), ParamAlign, in getThunkArgTypes() 205 Type *T = FT->getReturnType(); in getThunkRetType() 214 if (FT->getNumParams()) { in getThunkRetType() 242 Arm64ArgTypes.push_back(FT->getParamType(0)); in getThunkRetType() 243 X64ArgTypes.push_back(FT->getParamType(0)); in getThunkRetType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 371 explicit AMDGPULibFunc(EFuncId Id, FunctionType *FT, bool SignedInts); 374 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT); 426 explicit AMDGPUMangledLibFunc(EFuncId id, FunctionType *FT, 455 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { in AMDGPUUnmangledLibFunc() argument 457 FuncTy = FT; in AMDGPUUnmangledLibFunc() 470 void setFunctionType(FunctionType *FT) { FuncTy = FT; } in setFunctionType() argument
|
| H A D | R600OpenCLImageTypeLoweringPass.cpp | 257 FunctionType *FT = F->getFunctionType(); in addImplicitArgs() local 265 for (unsigned i = 0; i < FT->getNumParams(); ++i) { in addImplicitArgs() 266 ArgTypes.push_back(FT->getParamType(i)); in addImplicitArgs() 290 auto NewFT = FunctionType::get(FT->getReturnType(), ArgTypes, false); in addImplicitArgs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | Sparc.td | 157 // LEON 2 FT generic 161 // LEON 2 FT (AT697E) 166 // LEON 2 FT (AT697F) 172 // LEON 3 FT generic 176 // LEON 3 FT (UT699). Provides features for the UT699 processor 181 // LEON3 FT (GR712RC). Provides features for the GR712RC processor. 186 // LEON 4 FT generic 190 // LEON 4 FT (GR740)
|
| H A D | LeonFeatures.td | 27 // CASA Support differs between LEON3-FT GR712RC and LEON3-FT UT699
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SPIR.cpp | 58 void setCUDAKernelCallingConvention(const FunctionType *&FT) const override; 126 const FunctionType *&FT) const { in setCUDAKernelCallingConvention() 129 FT = getABIInfo().getContext().adjustFunctionType( in setCUDAKernelCallingConvention() 130 FT, FT->getExtInfo().withCallingConv(CC_OpenCLKernel)); in setCUDAKernelCallingConvention()
|
| H A D | AMDGPU.cpp | 302 void setCUDAKernelCallingConvention(const FunctionType *&FT) const override; 518 const FunctionType *&FT) const { in setCUDAKernelCallingConvention() 519 FT = getABIInfo().getContext().adjustFunctionType( in setCUDAKernelCallingConvention() 520 FT, FT->getExtInfo().withCallingConv(CC_OpenCLKernel)); in setCUDAKernelCallingConvention() 563 auto *FT = llvm::FunctionType::get(llvm::Type::getVoidTy(C), ArgTys, false); in createEnqueuedBlockKernel() local 564 auto *F = llvm::Function::Create(FT, llvm::GlobalValue::InternalLinkage, Name, in createEnqueuedBlockKernel()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | BasicBlockPathCloning.cpp | 75 if (auto FT = OrigBB.getFallThrough(/*JumpToFallThrough=*/false)) { in CloneMachineBasicBlock() local 80 TII->insertUnconditionalBranch(*CloneBB, FT, CloneBB->findBranchDebugLoc()); in CloneMachineBasicBlock() 167 if (auto FT = OrigBB->getFallThrough(/*JumpToFallThrough=*/false)) { in ApplyCloning() local 168 TII->insertUnconditionalBranch(*OrigBB, FT, in ApplyCloning()
|
| H A D | FaultMaps.cpp | 103 const char *FaultMaps::faultTypeToString(FaultMaps::FaultKind FT) { in faultTypeToString() argument 104 switch (FT) { in faultTypeToString()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TextAPI/ |
| H A D | TextAPIWriter.h | 40 static FileType parseFileType(const StringRef FT) { in parseFileType() argument 41 return StringSwitch<FileType>(FT) in parseFileType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Mangler.cpp | 178 FunctionType *FT = MSFunc->getFunctionType(); in getNameWithPrefix() local 181 (!FT->isVarArg() || FT->getNumParams() == 0 || in getNameWithPrefix() 182 (FT->getNumParams() == 1 && MSFunc->hasStructRetAttr()))) in getNameWithPrefix()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | FaultMapParser.cpp | 16 void printFaultType(FaultMapParser::FaultKind FT, raw_ostream &OS) { in printFaultType() argument 17 switch (FT) { in printFaultType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 773 const FunctionProtoType *FT = nullptr; in VisitFunctionDecl() local 778 if (FT) { in VisitFunctionDecl() 786 if (FT->isVariadic()) { in VisitFunctionDecl() 804 if (FT) { in VisitFunctionDecl() 805 if (FT->isConst()) in VisitFunctionDecl() 807 if (FT->isVolatile()) in VisitFunctionDecl() 809 if (FT->isRestrict()) in VisitFunctionDecl() 812 switch (FT->getRefQualifier()) { in VisitFunctionDecl() 824 if (FT && FT->hasDynamicExceptionSpec()) { in VisitFunctionDecl() 836 } else if (FT && isNoexceptExceptionSpec(FT->getExceptionSpecType())) { in VisitFunctionDecl() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | RetainSummaryManager.cpp | 297 const FunctionType *FT, in getSummaryForObjCOrCFObject() argument 311 return RetTy->isObjCIdType() ? getUnarySummary(FT, DoNothing) in getSummaryForObjCOrCFObject() 418 return getUnarySummary(FT, IncRef); in getSummaryForObjCOrCFObject() 424 return getUnarySummary(FT, Autorelease); in getSummaryForObjCOrCFObject() 427 return getUnarySummary(FT, DoNothing); in getSummaryForObjCOrCFObject() 437 return getUnarySummary(FT, IncRef); in getSummaryForObjCOrCFObject() 461 return getUnarySummary(FT, DecRef); in getSummaryForObjCOrCFObject() 512 const auto *FT = FD->getType()->castAs<FunctionType>(); in generateSummary() local 513 QualType RetTy = FT->getReturnType(); in generateSummary() 785 RetainSummaryManager::getUnarySummary(const FunctionType* FT, in getUnarySummary() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILOpBuilder.cpp | 270 Type *DXILOpBuilder::getOverloadTy(dxil::OpCode OpCode, FunctionType *FT, in getOverloadTy() argument 275 auto &Ctx = FT->getContext(); in getOverloadTy() 303 Type *OverloadType = FT->getReturnType(); in getOverloadTy() 307 OverloadType = FT->getParamType(Prop->OverloadParamIndex - SkipedParam); in getOverloadTy()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileInference.h | 119 template <typename FT> class SampleProfileInference { 121 using NodeRef = typename GraphTraits<FT *>::NodeRef; 123 using FunctionT = FT;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 1301 FunctionType *FT = F->getFunctionType(); in buildWrapperFunction() local 1320 if (FT->getReturnType()->isVoidTy()) in buildWrapperFunction() 1596 bool IsZeroArgsVoidRet = (FT->getNumParams() == 0 && !FT->isVarArg() && in runImpl() 1622 WrapperLinkage, FT); in runImpl() 1680 } else if (FT->isVarArg()) { in runImpl() 2993 FunctionType *FT = F.getFunctionType(); in addShadowArguments() local 3002 if (FT->isVarArg()) { in addShadowArguments() 3019 if (!FT->getReturnType()->isVoidTy()) { in addShadowArguments() 3032 FunctionType *FT = F.getFunctionType(); in addOriginArguments() local 3041 if (FT->isVarArg()) { in addOriginArguments() [all …]
|