Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp1615 RetType{SizeTy}), in initFunctionSummaries()
1663 RetType{Ssize_tTy}), in initFunctionSummaries()
1729 RetType{IntTy}), in initFunctionSummaries()
1767 RetType{IntTy}), in initFunctionSummaries()
1805 RetType{IntTy}), in initFunctionSummaries()
1938 RetType{IntTy}), in initFunctionSummaries()
1956 RetType{IntTy}), in initFunctionSummaries()
1980 RetType{IntTy}), in initFunctionSummaries()
2045 RetType{IntTy}), in initFunctionSummaries()
2089 RetType{IntTy}), in initFunctionSummaries()
[all …]
H A DNullabilityChecker.cpp862 QualType RetType = Decl->getReturnType(); in checkPostObjCMessage() local
863 if (!RetType->isAnyPointerType()) in checkPostObjCMessage()
948 Nullability RetNullability = getNullabilityAnnotation(RetType); in checkPostObjCMessage()
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DProcessStructReader.h81 template <typename RetType>
82 RetType GetField(ConstString name, RetType fail_value = RetType()) {
87 if (sizeof(RetType) < size)
92 return (RetType)(m_data.GetMaxU64(&offset, size));
/llvm-project-15.0.7/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()};
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dxcore-stringtype.c94 typedef int RetType[2]; typedef
95 RetType* arrayType(int A1[], int const volatile A2[2], int A3[][2], in arrayType()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsOs16.cpp51 Type* RetType = F.getReturnType(); in needsFPFromSig() local
52 switch (RetType->getTypeID()) { in needsFPFromSig()
H A DMips16HardFloat.cpp171 Type* RetType = F.getReturnType(); in needsFPReturnHelper() local
172 return whichFPReturnVariant(RetType) != NoFPRet; in needsFPReturnHelper()
176 Type* RetType = FT.getReturnType(); in needsFPReturnHelper() local
177 return whichFPReturnVariant(RetType) != NoFPRet; in needsFPReturnHelper()
H A DMipsAsmPrinter.cpp993 const char *RetType; in EmitFPCallStub() local
1001 RetType = "float"; in EmitFPCallStub()
1004 RetType = "double"; in EmitFPCallStub()
1007 RetType = "complex"; in EmitFPCallStub()
1010 RetType = "double complex"; in EmitFPCallStub()
1013 RetType = ""; in EmitFPCallStub()
1040 OutStreamer->AddComment("\t# Stub function to call " + Twine(RetType) + " " + in EmitFPCallStub()
/llvm-project-15.0.7/llvm/tools/llvm-rc/
H A DResourceScriptParser.cpp763 using RetType = VersionInfoResource::VersionInfoFixed; in parseVersionInfoFixed() typedef
764 RetType Result; in parseVersionInfoFixed()
769 auto FixedType = RetType::getFixedType(*TypeResult); in parseVersionInfoFixed()
771 if (!RetType::isTypeSupported(FixedType)) in parseVersionInfoFixed()
778 size_t NumInts = RetType::isVersionType(FixedType) ? 4 : 1; in parseVersionInfoFixed()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCoroutine.cpp330 static Expr *maybeTailCall(Sema &S, QualType RetType, Expr *E, in maybeTailCall() argument
332 if (RetType->isReferenceType()) in maybeTailCall()
334 Type const *T = RetType.getTypePtr(); in maybeTailCall()
433 QualType RetType = AwaitSuspend->getCallReturnType(S.Context); in buildCoawaitCalls() local
437 maybeTailCall(S, RetType, AwaitSuspend, Loc)) in buildCoawaitCalls()
446 if (RetType->isReferenceType() || in buildCoawaitCalls()
447 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
450 << RetType; in buildCoawaitCalls()
H A DSemaRISCVVectorLookup.cpp311 QualType RetType = RVVType2Qual(Context, ReturnType); in CreateRVVIntrinsicDecl() local
325 BuiltinFuncType = Context.getFunctionType(RetType, ArgTypes, PI); in CreateRVVIntrinsicDecl()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h195 SPIRVType *getOpTypeFunction(SPIRVType *RetType,
243 const Type *Ty, SPIRVType *RetType,
H A DSPIRVPrepareFunctions.cpp71 Type *RetType = IsRetAggr ? B.getInt32Ty() : F->getReturnType(); in processFunctionSignature() local
84 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in processFunctionSignature()
H A DSPIRVCallLowering.cpp310 SPIRVType *RetType = in lowerCall() local
316 .addUse(GR->getSPIRVTypeID(RetType)) in lowerCall()
H A DSPIRVGlobalRegistry.cpp463 SPIRVType *RetType, const SmallVectorImpl<SPIRVType *> &ArgTypes, in getOpTypeFunction() argument
467 .addUse(getSPIRVTypeID(RetType)); in getOpTypeFunction()
474 const Type *Ty, SPIRVType *RetType, in getOrCreateOpTypeFunctionWithArgs() argument
480 SPIRVType *SpirvType = getOpTypeFunction(RetType, ArgTypes, MIRBuilder); in getOrCreateOpTypeFunctionWithArgs()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp532 Type *RetType = F.getReturnType(); in createTailRecurseLoopHeader() local
533 if (!RetType->isVoidTy()) { in createTailRecurseLoopHeader()
535 RetPN = PHINode::Create(RetType, 2, "ret.tr", InsertPos); in createTailRecurseLoopHeader()
538 RetPN->addIncoming(PoisonValue::get(RetType), NewEntry); in createTailRecurseLoopHeader()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp686 QualType RetType = Fun->getCallResultType(); in propagateReturnType() local
687 if (RetType->isReferenceType()) in propagateReturnType()
688 RetType = RetType->getPointeeType(); in propagateReturnType()
690 if (isConsumableType(RetType)) { in propagateReturnType()
695 ReturnState = mapConsumableAttrState(RetType); in propagateReturnType()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp873 DIType *RetType = nullptr; in solveDIType() local
877 RetType = Builder.createBasicType(Name, BitWidth, dwarf::DW_ATE_signed, in solveDIType()
880 RetType = Builder.createBasicType(Name, Layout.getTypeSizeInBits(Ty), in solveDIType()
891 RetType = Builder.createPointerType(nullptr, Layout.getTypeSizeInBits(Ty), in solveDIType()
915 RetType = DIStruct; in solveDIType()
923 RetType = CharSizeType; in solveDIType()
928 RetType = Builder.createArrayType( in solveDIType()
934 DITypeCache.insert({Ty, RetType}); in solveDIType()
935 return RetType; in solveDIType()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1667 auto *RetType = cast<IntegerType>(Call.CB.getType()); in applyVirtualConstProp() local
1671 if (RetType->getBitWidth() == 1) { in applyVirtualConstProp()
1679 Value *ValAddr = B.CreateBitCast(Addr, RetType->getPointerTo()); in applyVirtualConstProp()
1680 Value *Val = B.CreateLoad(RetType, ValAddr); in applyVirtualConstProp()
1693 auto RetType = dyn_cast<IntegerType>(TargetsForSlot[0].Fn->getReturnType()); in tryVirtualConstProp() local
1694 if (!RetType) in tryVirtualConstProp()
1696 unsigned BitWidth = RetType->getBitWidth(); in tryVirtualConstProp()
1715 Target.Fn->getReturnType() != RetType) in tryVirtualConstProp()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGStackify.cpp765 int64_t RetType = Try->getOperand(0).getImm(); in removeUnnecessaryInstrs() local
770 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()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp310 static void BeginEmitFunction(raw_ostream &OS, StringRef RetType, in BeginEmitFunction() argument
313 OS << RetType << ' ' << Decl; in BeginEmitFunction()
319 OS << RetType << " DAGISEL_CLASS_COLONCOLON " << Decl << "\n"; in BeginEmitFunction()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp5585 Type *RetType = nullptr; in parseFunctionHeader() local
5620 if (!FunctionType::isValidReturnType(RetType)) in parseFunctionHeader()
6372 Type *RetType = nullptr; in parseInvoke() local
6395 FunctionType *Ty = dyn_cast<FunctionType>(RetType); in parseInvoke()
6402 if (!FunctionType::isValidReturnType(RetType)) in parseInvoke()
6681 Type *RetType = nullptr; in parseCallBr() local
6721 FunctionType *Ty = dyn_cast<FunctionType>(RetType); in parseCallBr()
6728 if (!FunctionType::isValidReturnType(RetType)) in parseCallBr()
7099 Type *RetType = nullptr; in parseCall() local
7126 FunctionType *Ty = dyn_cast<FunctionType>(RetType); in parseCall()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCasting.h44 using RetType =
47 static RetType getSimplifiedValue(const From &Val) {

12