Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp674 using RetType = std::optional<QualType>; typedef in __anon4d759d9c0111::StdLibraryFunctionsChecker
695 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature()
1835 "isalnum", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1857 "isalpha", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1871 "isascii", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1881 "isblank", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1891 "iscntrl", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1902 "isdigit", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1911 "isgraph", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
1923 "islower", Signature(ArgTypes{IntTy}, RetType{IntTy}), in initFunctionSummaries()
[all …]
/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/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.cpp988 const char *RetType; in EmitFPCallStub() local
996 RetType = "float"; in EmitFPCallStub()
999 RetType = "double"; in EmitFPCallStub()
1002 RetType = "complex"; in EmitFPCallStub()
1005 RetType = "double complex"; in EmitFPCallStub()
1008 RetType = ""; in EmitFPCallStub()
1035 OutStreamer->AddComment("\t# Stub function to call " + Twine(RetType) + " " + in EmitFPCallStub()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSparc.cpp328 ABIArgInfo RetType = classifyType(FI.getReturnType(), 32 * 8, RetOffset); in computeInfo() local
329 FI.getReturnInfo() = RetType; in computeInfo()
332 unsigned ArgOffset = RetType.isIndirect() ? RetOffset : 0; in computeInfo()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DPPC.cpp30 llvm::IntegerType *RetType = CGF.Int32Ty; in emitPPCLoadReserveIntrinsic() local
35 RetType = CGF.Int64Ty; in emitPPCLoadReserveIntrinsic()
39 RetType = CGF.Int32Ty; in emitPPCLoadReserveIntrinsic()
43 RetType = CGF.Int16Ty; in emitPPCLoadReserveIntrinsic()
47 RetType = CGF.Int8Ty; in emitPPCLoadReserveIntrinsic()
63 llvm::FunctionType *FTy = llvm::FunctionType::get(RetType, {PtrType}, false); in emitPPCLoadReserveIntrinsic()
69 0, Attribute::get(CGF.getLLVMContext(), Attribute::ElementType, RetType)); in emitPPCLoadReserveIntrinsic()
1211 llvm::Type *RetType = CGM.getDataLayout().getTypeSizeInBits(VoidPtrTy) == 32 in EmitPPCBuiltinExpr() local
1214 Function *F = CGM.getIntrinsic(Intrinsic::ppc_mfspr, RetType); in EmitPPCBuiltinExpr()
1220 llvm::Type *RetType = CGM.getDataLayout().getTypeSizeInBits(VoidPtrTy) == 32 in EmitPPCBuiltinExpr() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp320 static Expr *maybeTailCall(Sema &S, QualType RetType, Expr *E, in maybeTailCall() argument
322 if (RetType->isReferenceType()) in maybeTailCall()
324 Type const *T = RetType.getTypePtr(); in maybeTailCall()
418 QualType RetType = AwaitSuspend->getCallReturnType(S.Context); in buildCoawaitCalls() local
422 maybeTailCall(S, RetType, AwaitSuspend, Loc)) in buildCoawaitCalls()
431 if (RetType->isReferenceType() || in buildCoawaitCalls()
432 (!RetType->isBooleanType() && !RetType->isVoidType())) { in buildCoawaitCalls()
435 << RetType; in buildCoawaitCalls()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp560 Type *RetType = F.getReturnType(); in createTailRecurseLoopHeader() local
561 if (!RetType->isVoidTy()) { in createTailRecurseLoopHeader()
563 RetPN = PHINode::Create(RetType, 2, "ret.tr"); in createTailRecurseLoopHeader()
568 RetPN->addIncoming(PoisonValue::get(RetType), NewEntry); in createTailRecurseLoopHeader()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp530 SPIRVType *RetType = MRI->getVRegDef(MI.getOperand(1).getReg()); in finalizeLowering() local
531 assert(RetType && "Expected return type"); in finalizeLowering()
533 RetType->getOpcode() != SPIRV::OpTypeVector in finalizeLowering()
536 Int32Type, RetType->getOperand(2).getImm(), in finalizeLowering()
H A DSPIRVPrepareFunctions.cpp448 Type *RetType = IsRetAggr ? B.getInt32Ty() : F->getReturnType(); in removeAggregateTypesFromSignature() local
461 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in removeAggregateTypesFromSignature()
497 if (RetType != F->getReturnType()) in removeAggregateTypesFromSignature()
H A DSPIRVPreLegalizer.cpp758 SPIRVType *RetType = in insertInlineAsmProcess() local
762 FTy, RetType, ArgTypes, MIRBuilder); in insertInlineAsmProcess()
769 .addUse(GR->getSPIRVTypeID(RetType)) in insertInlineAsmProcess()
800 .addUse(GR->getSPIRVTypeID(RetType)) in insertInlineAsmProcess()
H A DSPIRVGlobalRegistry.h464 SPIRVType *getOpTypeFunction(SPIRVType *RetType,
636 const Type *Ty, SPIRVType *RetType,
H A DSPIRVCallLowering.cpp712 SPIRVType *RetType = GR->assignTypeToVReg( in lowerCall() local
718 .addUse(GR->getSPIRVTypeID(RetType)) in lowerCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h69 auto *RetType = FixedVectorType::get(EltTy, Rows * Columns);
73 Type *OverloadedTypes[] = {RetType, Stride->getType()};
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp610 DIType *RetType = nullptr; in solveDIType() local
614 RetType = Builder.createBasicType(Name, BitWidth, dwarf::DW_ATE_signed, in solveDIType()
617 RetType = Builder.createBasicType(Name, Layout.getTypeSizeInBits(Ty), in solveDIType()
628 RetType = in solveDIType()
653 RetType = DIStruct; in solveDIType()
661 RetType = CharSizeType; in solveDIType()
666 RetType = Builder.createArrayType( in solveDIType()
672 DITypeCache.insert({Ty, RetType}); in solveDIType()
673 return RetType; in solveDIType()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp679 QualType RetType = Fun->getCallResultType(); in propagateReturnType() local
680 if (RetType->isReferenceType()) in propagateReturnType()
681 RetType = RetType->getPointeeType(); in propagateReturnType()
683 if (isConsumableType(RetType)) { in propagateReturnType()
688 ReturnState = mapConsumableAttrState(RetType); in propagateReturnType()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp455 Type *RetType = randomType(); in createFunctionDeclaration() local
462 Function *F = Function::Create(FunctionType::get(RetType, Args, in createFunctionDeclaration()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1813 auto *RetType = cast<IntegerType>(Call.CB.getType()); in applyVirtualConstProp() local
1816 if (RetType->getBitWidth() == 1) { in applyVirtualConstProp()
1824 Value *Val = B.CreateLoad(RetType, Addr); in applyVirtualConstProp()
1843 auto RetType = dyn_cast<IntegerType>(Fn->getReturnType()); in tryVirtualConstProp() local
1844 if (!RetType) in tryVirtualConstProp()
1846 unsigned BitWidth = RetType->getBitWidth(); in tryVirtualConstProp()
1882 Fn->getReturnType() != RetType) in tryVirtualConstProp()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp384 #define DXIL_OP_FUNCTION_TYPE(OpCode, RetType, ...) \ in getDXILOpFunctionType() argument
387 getTypeFromOpParamType(RetType, Context, OverloadTy), \ in getDXILOpFunctionType()
/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/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRetainPtrCtorAdoptChecker.cpp554 auto RetType = Callee->getReturnType(); in isOwned() local
555 if (isRetainPtrType(RetType)) in isOwned()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp361 static void BeginEmitFunction(raw_ostream &OS, StringRef RetType, in BeginEmitFunction() argument
364 OS << RetType << ' ' << Decl; in BeginEmitFunction()
370 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) {

12