Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp676 using RetType = std::optional<QualType>; typedef in __anon4d759d9c0111::StdLibraryFunctionsChecker
697 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature()
1831 "isalnum", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1853 "isalpha", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1867 "isascii", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1877 "isblank", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1887 "iscntrl", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1898 "isdigit", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1907 "isgraph", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1919 "islower", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
[all …]
H A DNullabilityChecker.cpp978 QualType RetType = Decl->getReturnType(); in checkPostObjCMessage() local
979 if (!isValidPointerType(RetType)) in checkPostObjCMessage()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcessStructReader.h82 template <typename RetType>
83 RetType GetField(llvm::StringRef name, RetType fail_value = RetType()) {
88 if (sizeof(RetType) < size)
93 return (RetType)(m_data.GetMaxU64(&offset, size));
/freebsd/sys/contrib/dev/acpica/components/namespace/
H A Dnsxfobj.c180 ACPI_OBJECT_TYPE *RetType) in AcpiGetType() argument
188 if (!RetType) in AcpiGetType()
197 *RetType = ACPI_TYPE_ANY; in AcpiGetType()
216 *RetType = Node->Type; in AcpiGetType()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DVectorBuilder.h54 template <typename RetType>
55 RetType returnWithError(const char *ErrorMsg) const { in returnWithError()
57 return RetType(); in returnWithError()
H A DMatrixBuilder.h69 auto *RetType = FixedVectorType::get(EltTy, Rows * Columns);
73 Type *OverloadedTypes[] = {RetType, Stride->getType()};
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsOs16.cpp51 Type* RetType = F.getReturnType(); in needsFPFromSig() local
52 switch (RetType->getTypeID()) { in needsFPFromSig()
H A DMips16HardFloat.cpp172 Type* RetType = F.getReturnType(); in needsFPReturnHelper() local
173 return whichFPReturnVariant(RetType) != NoFPRet; in needsFPReturnHelper()
177 Type* RetType = FT.getReturnType(); in needsFPReturnHelper() local
178 return whichFPReturnVariant(RetType) != NoFPRet; in needsFPReturnHelper()
H A DMipsAsmPrinter.cpp959 const char *RetType; in EmitFPCallStub() local
967 RetType = "float"; in EmitFPCallStub()
970 RetType = "double"; in EmitFPCallStub()
973 RetType = "complex"; in EmitFPCallStub()
976 RetType = "double complex"; in EmitFPCallStub()
979 RetType = ""; in EmitFPCallStub()
1006 OutStreamer->AddComment("\t# Stub function to call " + Twine(RetType) + " " + in EmitFPCallStub()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp542 Type *RetType = F.getReturnType(); in createTailRecurseLoopHeader() local
543 if (!RetType->isVoidTy()) { in createTailRecurseLoopHeader()
545 RetPN = PHINode::Create(RetType, 2, "ret.tr"); in createTailRecurseLoopHeader()
550 RetPN->addIncoming(PoisonValue::get(RetType), NewEntry); in createTailRecurseLoopHeader()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp332 static Expr *maybeTailCall(Sema &S, QualType RetType, Expr *E, in maybeTailCall() argument
334 if (RetType->isReferenceType()) in maybeTailCall()
336 Type const *T = RetType.getTypePtr(); in maybeTailCall()
430 QualType RetType = AwaitSuspend->getCallReturnType(S.Context); in buildCoawaitCalls() local
434 maybeTailCall(S, RetType, AwaitSuspend, Loc)) in buildCoawaitCalls()
443 if (RetType->isReferenceType() || in buildCoawaitCalls()
444 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
447 << RetType; in buildCoawaitCalls()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp492 Type *RetType = IsRetAggr ? B.getInt32Ty() : F->getReturnType(); in removeAggregateTypesFromSignature() local
505 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in removeAggregateTypesFromSignature()
541 if (RetType != F->getReturnType()) in removeAggregateTypesFromSignature()
H A DSPIRVPreLegalizer.cpp640 SPIRVType *RetType = in insertInlineAsmProcess() local
643 FTy, RetType, ArgTypes, MIRBuilder); in insertInlineAsmProcess()
650 .addUse(GR->getSPIRVTypeID(RetType)) in insertInlineAsmProcess()
697 .addUse(GR->getSPIRVTypeID(RetType)) in insertInlineAsmProcess()
H A DSPIRVGlobalRegistry.h425 SPIRVType *getOpTypeFunction(SPIRVType *RetType,
547 const Type *Ty, SPIRVType *RetType,
H A DSPIRVCallLowering.cpp600 SPIRVType *RetType = GR->assignTypeToVReg(OrigRetTy, ResVReg, MIRBuilder); in lowerCall() local
605 .addUse(GR->getSPIRVTypeID(RetType)) in lowerCall()
H A DSPIRVGlobalRegistry.cpp777 SPIRVType *RetType, const SmallVectorImpl<SPIRVType *> &ArgTypes, in getOpTypeFunction() argument
781 .addUse(getSPIRVTypeID(RetType)); in getOpTypeFunction()
788 const Type *Ty, SPIRVType *RetType, in getOrCreateOpTypeFunctionWithArgs() argument
794 SPIRVType *SpirvType = getOpTypeFunction(RetType, ArgTypes, MIRBuilder); in getOrCreateOpTypeFunctionWithArgs()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp401 Type *RetType = randomType(); in createFunctionDeclaration() local
408 Function *F = Function::Create(FunctionType::get(RetType, Args, in createFunctionDeclaration()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1030 DIType *RetType = nullptr; in solveDIType() local
1034 RetType = Builder.createBasicType(Name, BitWidth, dwarf::DW_ATE_signed, in solveDIType()
1037 RetType = Builder.createBasicType(Name, Layout.getTypeSizeInBits(Ty), in solveDIType()
1048 RetType = in solveDIType()
1073 RetType = DIStruct; in solveDIType()
1081 RetType = CharSizeType; in solveDIType()
1086 RetType = Builder.createArrayType( in solveDIType()
1092 DITypeCache.insert({Ty, RetType}); in solveDIType()
1093 return RetType; in solveDIType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1762 auto *RetType = cast<IntegerType>(Call.CB.getType()); in applyVirtualConstProp() local
1765 if (RetType->getBitWidth() == 1) { in applyVirtualConstProp()
1773 Value *Val = B.CreateLoad(RetType, Addr); in applyVirtualConstProp()
1792 auto RetType = dyn_cast<IntegerType>(Fn->getReturnType()); in tryVirtualConstProp() local
1793 if (!RetType) in tryVirtualConstProp()
1795 unsigned BitWidth = RetType->getBitWidth(); in tryVirtualConstProp()
1821 Fn->getReturnType() != RetType) in tryVirtualConstProp()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGStackify.cpp764 int64_t RetType = Try->getOperand(0).getImm(); in removeUnnecessaryInstrs() local
769 std::prev(B)->getOperand(0).getImm() == RetType; in removeUnnecessaryInstrs()
1478 WebAssembly::BlockType RetType = in fixEndsAtEndOfFunction() local
1509 EndToBegin[&MI]->getOperand(0).setImm(int32_t(RetType)); in fixEndsAtEndOfFunction()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIARawSymbol.cpp105 template <typename ArgType, typename RetType>
106 RetType PrivateGetDIAValue(IDiaSymbol *Symbol, in PrivateGetDIAValue()
110 return static_cast<RetType>(Value); in PrivateGetDIAValue()
112 return RetType(); in PrivateGetDIAValue()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp360 static void BeginEmitFunction(raw_ostream &OS, StringRef RetType, in BeginEmitFunction() argument
363 OS << RetType << ' ' << Decl; in BeginEmitFunction()
369 OS << RetType << " DAGISEL_CLASS_COLONCOLON " << Decl << "\n"; in BeginEmitFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCasting.h44 using RetType =
47 static RetType getSimplifiedValue(const From &Val) {
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp6321 Type *RetType = nullptr; in parseFunctionHeader() local
6326 parseType(RetType, RetTypeLoc, true /*void allowed*/)) in parseFunctionHeader()
6360 if (!FunctionType::isValidReturnType(RetType)) in parseFunctionHeader()
6437 if (PAL.hasParamAttr(0, Attribute::StructRet) && !RetType->isVoidTy()) in parseFunctionHeader()
6440 FunctionType *FT = FunctionType::get(RetType, ParamTypeList, IsVarArg); in parseFunctionHeader()
7263 bool LLParser::resolveFunctionType(Type *RetType, in resolveFunctionType() argument
7266 FuncTy = dyn_cast<FunctionType>(RetType); in resolveFunctionType()
7273 if (!FunctionType::isValidReturnType(RetType)) in resolveFunctionType()
7276 FuncTy = FunctionType::get(RetType, ParamTypes, false); in resolveFunctionType()
7291 Type *RetType = nullptr; in parseInvoke() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp345 auto RetType = Elements[0]; in completeType() local
346 BTFType.Type = RetType ? BDebug.getTypeId(RetType) : 0; in completeType()

12