Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp545 using RetType = std::optional<QualType>; typedef in __anon2143b5530111::StdLibraryFunctionsChecker
566 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature()
1428 "isalnum", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1449 "isalpha", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1463 "isascii", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1473 "isblank", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1483 "iscntrl", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1494 "isdigit", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1503 "isgraph", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1515 "islower", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
[all …]
H A DNullabilityChecker.cpp937 QualType RetType = Decl->getReturnType(); in checkPostObjCMessage() local
938 if (!RetType->isAnyPointerType()) in checkPostObjCMessage()
1023 Nullability RetNullability = getNullabilityAnnotation(RetType); in checkPostObjCMessage()
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DProcessStructReader.h82 template <typename RetType>
83 RetType GetField(ConstString name, RetType fail_value = RetType()) {
88 if (sizeof(RetType) < size)
93 return (RetType)(m_data.GetMaxU64(&offset, size));
/openbsd-src/gnu/llvm/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()};
/openbsd-src/gnu/llvm/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.cpp1070 const char *RetType; in EmitFPCallStub() local
1078 RetType = "float"; in EmitFPCallStub()
1081 RetType = "double"; in EmitFPCallStub()
1084 RetType = "complex"; in EmitFPCallStub()
1087 RetType = "double complex"; in EmitFPCallStub()
1090 RetType = ""; in EmitFPCallStub()
1117 OutStreamer->AddComment("\t# Stub function to call " + Twine(RetType) + " " + in EmitFPCallStub()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp356 QualType RetType = RVVType2Qual(Context, ReturnType); in CreateRVVIntrinsicDecl() local
370 BuiltinFuncType = Context.getFunctionType(RetType, ArgTypes, PI); in CreateRVVIntrinsicDecl()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp534 Type *RetType = F.getReturnType(); in createTailRecurseLoopHeader() local
535 if (!RetType->isVoidTy()) { in createTailRecurseLoopHeader()
537 RetPN = PHINode::Create(RetType, 2, "ret.tr", InsertPos); in createTailRecurseLoopHeader()
540 RetPN->addIncoming(PoisonValue::get(RetType), NewEntry); in createTailRecurseLoopHeader()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h208 SPIRVType *getOpTypeFunction(SPIRVType *RetType,
307 const Type *Ty, SPIRVType *RetType,
H A DSPIRVPrepareFunctions.cpp72 Type *RetType = IsRetAggr ? B.getInt32Ty() : F->getReturnType(); in processFunctionSignature() local
85 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in processFunctionSignature()
H A DSPIRVCallLowering.cpp425 SPIRVType *RetType = in lowerCall() local
431 .addUse(GR->getSPIRVTypeID(RetType)) in lowerCall()
H A DSPIRVGlobalRegistry.cpp600 SPIRVType *RetType, const SmallVectorImpl<SPIRVType *> &ArgTypes, in getOpTypeFunction() argument
604 .addUse(getSPIRVTypeID(RetType)); in getOpTypeFunction()
611 const Type *Ty, SPIRVType *RetType, in getOrCreateOpTypeFunctionWithArgs() argument
617 SPIRVType *SpirvType = getOpTypeFunction(RetType, ArgTypes, MIRBuilder); in getOrCreateOpTypeFunctionWithArgs()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp894 DIType *RetType = nullptr; in solveDIType() local
898 RetType = Builder.createBasicType(Name, BitWidth, dwarf::DW_ATE_signed, in solveDIType()
901 RetType = Builder.createBasicType(Name, Layout.getTypeSizeInBits(Ty), in solveDIType()
912 RetType = in solveDIType()
937 RetType = DIStruct; in solveDIType()
945 RetType = CharSizeType; in solveDIType()
950 RetType = Builder.createArrayType( in solveDIType()
956 DITypeCache.insert({Ty, RetType}); in solveDIType()
957 return RetType; in solveDIType()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1666 auto *RetType = cast<IntegerType>(Call.CB.getType()); in applyVirtualConstProp() local
1670 if (RetType->getBitWidth() == 1) { in applyVirtualConstProp()
1678 Value *ValAddr = B.CreateBitCast(Addr, RetType->getPointerTo()); in applyVirtualConstProp()
1679 Value *Val = B.CreateLoad(RetType, ValAddr); in applyVirtualConstProp()
1692 auto RetType = dyn_cast<IntegerType>(TargetsForSlot[0].Fn->getReturnType()); in tryVirtualConstProp() local
1693 if (!RetType) in tryVirtualConstProp()
1695 unsigned BitWidth = RetType->getBitWidth(); in tryVirtualConstProp()
1714 Target.Fn->getReturnType() != RetType) in tryVirtualConstProp()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCasting.h44 using RetType =
47 static RetType getSimplifiedValue(const From &Val) {
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp5865 Type *RetType = nullptr; in parseFunctionHeader() local
5870 parseType(RetType, RetTypeLoc, true /*void allowed*/)) in parseFunctionHeader()
5904 if (!FunctionType::isValidReturnType(RetType)) in parseFunctionHeader()
5982 if (PAL.hasParamAttr(0, Attribute::StructRet) && !RetType->isVoidTy()) in parseFunctionHeader()
5985 FunctionType *FT = FunctionType::get(RetType, ParamTypeList, IsVarArg); in parseFunctionHeader()
6649 bool LLParser::resolveFunctionType(Type *RetType, in resolveFunctionType() argument
6652 FuncTy = dyn_cast<FunctionType>(RetType); in resolveFunctionType()
6659 if (!FunctionType::isValidReturnType(RetType)) in resolveFunctionType()
6662 FuncTy = FunctionType::get(RetType, ParamTypes, false); in resolveFunctionType()
6677 Type *RetType = nullptr; in parseInvoke() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBTFDebug.cpp343 auto RetType = Elements[0]; in completeType() local
344 BTFType.Type = RetType ? BDebug.getTypeId(RetType) : 0; in completeType()

12