Searched defs:RetTy (Results 1 - 25 of 51) sorted by relevance

123

/external/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h54 Type *RetTy; member in class:llvm::CodeExtractor
/external/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp34 Type *RetTy = FTy->getReturnType(); local
44 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
87 switch (RetTy->getTypeID()) {
91 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, argument
28 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) {
35 RetTy = TD->getDecl()->getUnderlyingType();
42 const PointerType* PT = RetTy->getAs<PointerType>();
/external/llvm/lib/IR/
H A DInstructions.cpp161 LandingPadInst::LandingPadInst(Type *RetTy, unsigned NumReservedValues, argument
163 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertBefore) {
167 LandingPadInst::LandingPadInst(Type *RetTy, unsigned NumReservedValues, argument
169 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertAtEnd) {
186 LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses, argument
189 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertBefore);
192 LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses, argument
195 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertAtEnd);
H A DModule.cpp153 Type *RetTy, ...) {
155 va_start(Args, RetTy);
166 FunctionType::get(RetTy, ArgTys, false),
171 Type *RetTy, ...) {
173 va_start(Args, RetTy);
184 FunctionType::get(RetTy, ArgTys, false),
151 getOrInsertFunction(StringRef Name, AttributeSet AttributeList, Type *RetTy, ...) argument
170 getOrInsertFunction(StringRef Name, Type *RetTy, ...) argument
H A DType.cpp381 bool FunctionType::isValidReturnType(Type *RetTy) { argument
382 return !RetTy->isFunctionTy() && !RetTy->isLabelTy() &&
383 !RetTy->isMetadataTy();
/external/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp100 QualType RetTy = D->getReturnType(); local
101 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes,
119 QualType RetTy = D->getReturnType(); local
120 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes,
H A DCGAtomic.cpp854 QualType RetTy; local
873 RetTy = getContext().BoolTy;
898 RetTy = getContext().VoidTy;
985 RetTy = getContext().getIntTypeForBitwidth(
989 RetTy = getContext().VoidTy;
1003 RValue Res = emitAtomicLibcall(*this, LibCallName, RetTy, Args);
H A DCGCall.cpp80 static CanQualType GetReturnType(QualType RetTy) { argument
81 return RetTy->getCanonicalTypeUnqualified().getUnqualifiedType();
1600 QualType RetTy = FI.getReturnType();
1604 if (RetTy->hasSignedIntegerRepresentation())
1606 else if (RetTy->hasUnsignedIntegerRepresentation())
1628 if (const auto *RefTy = RetTy->getAs<ReferenceType>()) {
1827 QualType RetTy = FD->getReturnType().getUnqualifiedType();
1828 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy);
2381 QualType RetTy = FI.getReturnType();
2388 assert(hasAggregateEvaluationKind(RetTy));
[all...]
H A DCGException.cpp1616 /// RetTy func(void *EHPtrs, void *ParentFP);
1656 QualType RetTy = IsFilter ? getContext().LongTy : getContext().VoidTy; local
1660 RetTy, Args, FunctionType::ExtInfo(), /*isVariadic=*/false);
1678 StartFunction(GlobalDecl(), RetTy, Fn, FnInfo, Args, local
H A DCodeGenFunction.cpp645 QualType RetTy,
659 FnRetTy = RetTy;
750 getContext().getFunctionType(RetTy, ArgTypes,
761 if (RetTy->isVoidType()) {
784 ReturnValue = Address(Addr, getNaturalTypeAlignment(RetTy));
786 ReturnValue = CreateIRTemp(RetTy, "retval");
793 RetTy->isObjCRetainableType())
644 StartFunction(GlobalDecl GD, QualType RetTy, llvm::Function *Fn, const CGFunctionInfo &FnInfo, const FunctionArgList &Args, SourceLocation Loc, SourceLocation StartLoc) argument
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp30 Type *RetTy) {
35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false));
67 Type *RetTy) {
76 FunctionType::get(RetTy, ParamTys, false));
28 EnsureFunctionExists(Module &M, const char *Name, ArgIt ArgBegin, ArgIt ArgEnd, Type *RetTy) argument
65 ReplaceCallWith(const char *NewFn, CallInst *CI, ArgIt ArgBegin, ArgIt ArgEnd, Type *RetTy) argument
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp216 Type *RetTy = FTy->getReturnType(); local
217 ffi_type *rtype = ffiTypeFor(RetTy);
221 if (RetTy->getTypeID() != Type::VoidTyID)
222 ret.resize(TD.getTypeStoreSize(RetTy));
224 switch (RetTy->getTypeID()) {
226 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp485 Type *RetTy = FTy->getReturnType(); local
495 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
539 switch (RetTy->getTypeID()) {
542 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp537 QualType RetTy = Msg.getResultType(); local
538 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy);
543 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
581 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
/external/llvm/include/llvm/CodeGen/
H A DFastISel.h57 Type *RetTy; member in struct:llvm::FastISel::CallLoweringInfo
88 : RetTy(nullptr), RetSExt(false), RetZExt(false), IsVarArg(false),
97 RetTy = ResultTy;
120 RetTy = ResultTy;
143 RetTy = ResultTy;
159 RetTy = ResultTy;
H A DBasicTTIImpl.h155 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument
157 return BaseT::getIntrinsicCost(IID, RetTy, Arguments);
160 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument
174 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys);
583 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
591 Type *ScalarRetTy = RetTy;
592 if (RetTy->isVectorTy()) {
593 ScalarizationCost = getScalarizationOverhead(RetTy, true, false);
594 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements());
595 ScalarRetTy = RetTy
759 getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) argument
[all...]
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp70 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const {
71 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments);
292 int TargetTransformInfo::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, argument
294 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys);
299 int TargetTransformInfo::getCallInstrCost(Function *F, Type *RetTy, argument
301 int Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys);
69 getIntrinsicCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const argument
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp1105 Type *RetTy = Node->getValueType(0).getTypeForEVT(*DAG.getContext()); local
1109 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args), 0)
H A DStatepointLowering.cpp847 Type *RetTy = local
849 SDValue CopyFromReg = getCopyFromRegs(I, RetTy);
/external/llvm/lib/Target/Mips/
H A DMips16ISelLowering.cpp376 (Type* RetTy, ArgListTy &Args, bool &needHelper) const {
386 if (RetTy->isFloatTy()) {
389 else if (RetTy ->isDoubleTy()) {
392 else if (RetTy->isStructTy()) {
394 if (RetTy->getNumContainedTypes() == 2) {
395 if ((RetTy->getContainedType(0)->isFloatTy()) &&
396 (RetTy->getContainedType(1)->isFloatTy())) {
399 else if ((RetTy->getContainedType(0)->isDoubleTy()) &&
400 (RetTy->getContainedType(1)->isDoubleTy())) {
494 getMips16HelperFunction(CLI.RetTy, CL
375 getMips16HelperFunction(Type* RetTy, ArgListTy &Args, bool &needHelper) const argument
[all...]
/external/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp724 Type *RetTy = FTy->getReturnType(); local
727 FunctionType *NFTy = FunctionType::get(RetTy, Params, FTy->isVarArg());
H A DDeadArgumentElimination.cpp383 Type *RetTy = F->getReturnType(); local
384 if (RetTy->isVoidTy())
386 else if (StructType *STy = dyn_cast<StructType>(RetTy))
388 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy))
398 Type *RetTy = F->getReturnType(); local
399 assert(!RetTy->isVoidTy() && "void type has no subtype");
401 if (StructType *STy = dyn_cast<StructType>(RetTy))
403 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy))
406 return RetTy;
782 Type *RetTy local
[all...]
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h131 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument
315 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, argument
320 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) { argument
455 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, argument
464 return static_cast<T *>(this)->getIntrinsicCost(IID, RetTy, ParamTys);
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp973 Type *RetTy = FlushF->getReturnType(); local
974 if (RetTy == Type::getVoidTy(*Ctx))
976 else if (RetTy->isIntegerTy())
978 Builder.CreateRet(ConstantInt::get(RetTy, 0));

Completed in 2331 milliseconds

123