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

12

/external/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h54 Type *RetTy; member in class:llvm::CodeExtractor
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, argument
28 while (const TypedefType *TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) {
35 RetTy = TD->getDecl()->getUnderlyingType();
42 const PointerType* PT = RetTy->getAs<PointerType>();
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp159 Type *RetTy = FTy->getReturnType(); local
169 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
213 switch (RetTy->getTypeID()) {
216 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
/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/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp398 QualType RetTy = Msg.getResultType(); local
399 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy);
404 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
441 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp218 Type *RetTy = FTy->getReturnType(); local
219 ffi_type *rtype = ffiTypeFor(RetTy);
223 if (RetTy->getTypeID() != Type::VoidTyID)
224 ret.resize(TD->getTypeStoreSize(RetTy));
226 switch (RetTy->getTypeID()) {
228 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
/external/llvm/lib/VMCore/
H A DModule.cpp201 Type *RetTy, ...) {
203 va_start(Args, RetTy);
214 FunctionType::get(RetTy, ArgTys, false),
219 Type *RetTy, ...) {
221 va_start(Args, RetTy);
232 FunctionType::get(RetTy, ArgTys, false),
199 getOrInsertFunction(StringRef Name, AttrListPtr AttributeList, Type *RetTy, ...) argument
218 getOrInsertFunction(StringRef Name, Type *RetTy, ...) argument
H A DType.cpp411 bool FunctionType::isValidReturnType(Type *RetTy) { argument
412 return !RetTy->isFunctionTy() && !RetTy->isLabelTy() &&
413 !RetTy->isMetadataTy();
H A DAsmWriter.cpp1853 Type *RetTy = FTy->getReturnType(); local
1865 (!RetTy->isPointerTy() ||
1866 !cast<PointerType>(RetTy)->getElementType()->isFunctionTy())) {
1867 TypePrinter.print(RetTy, Out);
1886 Type *RetTy = FTy->getReturnType(); local
1915 (!RetTy->isPointerTy() ||
1916 !cast<PointerType>(RetTy)->getElementType()->isFunctionTy())) {
1917 TypePrinter.print(RetTy, Out);
H A DInstructions.cpp179 LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn, argument
182 : Instruction(RetTy, Instruction::LandingPad, 0, 0, InsertBefore) {
186 LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn, argument
189 : Instruction(RetTy, Instruction::LandingPad, 0, 0, InsertAtEnd) {
208 LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn, argument
212 return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr,
216 LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn, argument
220 return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp1057 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); local
1059 CallLoweringInfo CLI(DAG.getEntryNode(), RetTy, isSigned, !isSigned, false,
1091 Type *RetTy = Node->getValueType(0).getTypeForEVT(*DAG.getContext()); local
1093 CallLoweringInfo CLI(InChain, RetTy, isSigned, !isSigned, false, false,
H A DLegalizeIntegerTypes.cpp2256 Type *RetTy = VT.getTypeForEVT(*DAG.getContext()); local
2319 CallLoweringInfo CLI(Chain, RetTy, true, false, false, false,
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp396 Type *RetTy = FTy->getReturnType(); local
406 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
455 switch (RetTy->getTypeID()) {
458 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
497 FunctionType *STy=FunctionType::get(RetTy, false);
/external/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp593 Type *RetTy = FTy->getReturnType(); local
604 FunctionType *NFTy = FunctionType::get(RetTy, Params, FTy->isVarArg());
H A DDeadArgumentElimination.cpp662 Type *RetTy = FTy->getReturnType(); local
669 if (RetTy->isVoidTy()) {
670 NRetTy = RetTy;
672 StructType *STy = dyn_cast<StructType>(RetTy);
689 RetTypes.push_back(RetTy);
848 assert(RetTy->isStructTy() &&
863 Value *RetVal = UndefValue::get(RetTy);
923 assert (RetTy->isStructTy());
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp334 ABIArgInfo classifyReturnType(QualType RetTy) const;
335 ABIArgInfo classifyArgumentType(QualType RetTy) const;
377 ABIArgInfo DefaultABIInfo::classifyReturnType(QualType RetTy) const {
378 if (RetTy->isVoidType())
381 if (isAggregateTypeForABI(RetTy))
385 if (const EnumType *EnumTy = RetTy->getAs<EnumType>())
386 RetTy = EnumTy->getDecl()->getIntegerType();
388 return (RetTy->isPromotableIntegerType() ?
400 ABIArgInfo classifyReturnType(QualType RetTy) const;
401 ABIArgInfo classifyArgumentType(QualType RetTy, unsigne
639 classifyReturnType(QualType RetTy, unsigned callingConvention) const argument
[all...]
H A DCGBuiltin.cpp1381 llvm::Type *RetTy = VoidTy; local
1383 RetTy = ConvertType(BuiltinRetType);
1385 if (RetTy != V->getType()) {
1386 assert(V->getType()->canLosslesslyBitCastTo(RetTy) &&
1388 V = Builder.CreateBitCast(V, RetTy);
H A DCGCall.cpp66 static CanQualType GetReturnType(QualType RetTy) { argument
67 return RetTy->getCanonicalTypeUnqualified().getUnqualifiedType();
972 QualType RetTy = FI.getReturnType(); local
977 if (RetTy->hasSignedIntegerRepresentation())
979 else if (RetTy->hasUnsignedIntegerRepresentation())
1104 QualType RetTy = FD->getResultType().getUnqualifiedType(); local
1105 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy);
1515 QualType RetTy = FI.getReturnType(); local
1520 unsigned Alignment = getContext().getTypeAlignInChars(RetTy).getQuantity();
1521 if (RetTy
1928 QualType RetTy = CallInfo.getReturnType(); local
[all...]
H A DCodeGenFunction.cpp330 void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, argument
339 FnRetTy = RetTy;
385 getContext().getFunctionType(RetTy, ArgsArray, NumArgs,
400 if (RetTy->isVoidType()) {
409 ReturnValue = CreateIRTemp(RetTy, "retval");
416 RetTy->isObjCRetainableType())
H A DCGDebugInfo.cpp587 llvm::DIType RetTy = createRecordFwdDecl(RD, FDContext); local
588 TypeCache[QualType(RTy, 0).getAsOpaquePtr()] = RetTy;
589 return RetTy;
H A DCGExpr.cpp3146 QualType RetTy = getContext().VoidTy; local
3158 RetTy = getContext().BoolTy;
3210 CGM.getTypes().arrangeFreeFunctionCall(RetTy, Args,
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1609 Type *RetTy = I->getType(); local
1610 if (!isTypeLegal(RetTy, DstVT))
2164 Type *RetTy = I->getType(); local
2166 if (RetTy->isVoidTy())
2168 else if (!isTypeLegal(RetTy, RetVT))
2270 Type *RetTy = I->getType(); local
2272 if (RetTy->isVoidTy())
2274 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 &&
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp1465 Type *RetTy = local
1469 if (!isTypeLegal(RetTy, VT))
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp715 Type *RetTy = CI->getType(); local
719 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy);
/external/llvm/lib/Target/CellSPU/
H A DSPUISelLowering.cpp78 Type *RetTy = local
80 TargetLowering::CallLoweringInfo CLI(InChain, RetTy, isSigned, !isSigned,

Completed in 507 milliseconds

12