Home
last modified time | relevance | path

Searched refs:ResultTy (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/include/llvm/CodeGen/
DFastISel.h94 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, in setCallee()
97 RetTy = ResultTy; in setCallee()
116 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy,
120 RetTy = ResultTy;
140 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy,
143 RetTy = ResultTy;
151 CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy,
154 RetTy = ResultTy;
/external/llvm/lib/IR/
DConstantFold.cpp1655 Type *ResultTy; in ConstantFoldCompareInstruction() local
1657 ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()), in ConstantFoldCompareInstruction()
1660 ResultTy = Type::getInt1Ty(C1->getContext()); in ConstantFoldCompareInstruction()
1664 return Constant::getNullValue(ResultTy); in ConstantFoldCompareInstruction()
1667 return Constant::getAllOnesValue(ResultTy); in ConstantFoldCompareInstruction()
1677 return UndefValue::get(ResultTy); in ConstantFoldCompareInstruction()
1682 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(pred)); in ConstantFoldCompareInstruction()
1686 return ConstantInt::get(ResultTy, CmpInst::isUnordered(Predicate)); in ConstantFoldCompareInstruction()
1730 case ICmpInst::ICMP_EQ: return ConstantInt::get(ResultTy, V1 == V2); in ConstantFoldCompareInstruction()
1731 case ICmpInst::ICMP_NE: return ConstantInt::get(ResultTy, V1 != V2); in ConstantFoldCompareInstruction()
[all …]
DFunction.cpp823 Type *ResultTy = DecodeFixedType(TableRef, Tys, Context); in getType() local
833 return FunctionType::get(ResultTy, ArgTys, true); in getType()
835 return FunctionType::get(ResultTy, ArgTys, false); in getType()
DConstants.cpp2063 Type *ResultTy = Type::getInt1Ty(LHS->getContext()); in getICmp() local
2065 ResultTy = VectorType::get(ResultTy, VT->getNumElements()); in getICmp()
2068 return pImpl->ExprConstants.getOrCreate(ResultTy, Key); in getICmp()
2087 Type *ResultTy = Type::getInt1Ty(LHS->getContext()); in getFCmp() local
2089 ResultTy = VectorType::get(ResultTy, VT->getNumElements()); in getFCmp()
2092 return pImpl->ExprConstants.getOrCreate(ResultTy, Key); in getFCmp()
/external/clang/test/SemaTemplate/
Dinstantiation-backtrace.cpp35 template <class T> class ResultTy { // expected-warning {{does not declare any constructor}} class
40 typename ResultTy<T2>::error Deduce( void (T1::*member)(T2) ) {} // \ in Deduce()
/external/clang/lib/Analysis/
DBodyFarm.cpp293 QualType ResultTy = D->getReturnType(); in create_OSAtomicCompareAndSwap() local
294 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
295 if (!isBoolean && !ResultTy->isIntegralType(C)) in create_OSAtomicCompareAndSwap()
337 : M.makeIntegralCast(BoolVal, ResultTy); in create_OSAtomicCompareAndSwap()
344 : M.makeIntegralCast(BoolVal, ResultTy); in create_OSAtomicCompareAndSwap()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1286 Type *ResultTy = nullptr; in ParseTypeTableBody() local
1298 ResultTy = Type::getVoidTy(Context); in ParseTypeTableBody()
1301 ResultTy = Type::getHalfTy(Context); in ParseTypeTableBody()
1304 ResultTy = Type::getFloatTy(Context); in ParseTypeTableBody()
1307 ResultTy = Type::getDoubleTy(Context); in ParseTypeTableBody()
1310 ResultTy = Type::getX86_FP80Ty(Context); in ParseTypeTableBody()
1313 ResultTy = Type::getFP128Ty(Context); in ParseTypeTableBody()
1316 ResultTy = Type::getPPC_FP128Ty(Context); in ParseTypeTableBody()
1319 ResultTy = Type::getLabelTy(Context); in ParseTypeTableBody()
1322 ResultTy = Type::getMetadataTy(Context); in ParseTypeTableBody()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp30 QualType ResultTy = E->getType(); in getResultType() local
39 ResultTy = Ctx.getLValueReferenceType(ResultTy); in getResultType()
42 ResultTy = Ctx.getRValueReferenceType(ResultTy); in getResultType()
49 return ResultTy; in getResultType()
DSValBuilder.cpp307 QualType ResultTy) { in makeSymExprValNN() argument
319 return makeNonLoc(symLHS, Op, symRHS, ResultTy); in makeSymExprValNN()
323 return makeNonLoc(symLHS, Op, rInt->getValue(), ResultTy); in makeSymExprValNN()
327 return makeNonLoc(lInt->getValue(), Op, symRHS, ResultTy); in makeSymExprValNN()
DExprEngineCallAndReturn.cpp565 QualType ResultTy = Call.getResultType(); in bindReturnValue() local
568 SVal R = SVB.conjureSymbolVal(nullptr, E, LCtx, ResultTy, Count); in bindReturnValue()
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp776 QualType ResultTy = MD->getReturnType(); in getMethodSummary() local
784 return getMethodSummary(S, ID, MD, ResultTy, *CachedSummaries); in getMethodSummary()
2779 QualType ResultTy = Ex->getType(); in processObjCLiterals() local
2781 RefVal::makeNotOwned(RetEffect::ObjC, ResultTy)); in processObjCLiterals()
2806 QualType ResultTy = Ex->getType(); in checkPostStmt() local
2808 RefVal::makeNotOwned(RetEffect::ObjC, ResultTy)); in checkPostStmt()
3031 QualType ResultTy = CallOrMsg.getResultType(); in checkSummary() local
3033 ResultTy)); in checkSummary()
3048 QualType ResultTy = GetReturnType(Ex, C.getASTContext()); in checkSummary() local
3050 ResultTy)); in checkSummary()
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp1296 QualType &ResultTy) { in IsNoReturnConversion() argument
1337 ResultTy = ToType; in IsNoReturnConversion()
6623 void Sema::AddBuiltinCandidate(QualType ResultTy, QualType *ParamTys, in AddBuiltinCandidate() argument
6637 Candidate.BuiltinTypes.ResultTy = ResultTy; in AddBuiltinCandidate()
7976 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads() local
7979 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addSubscriptOverloads()
7991 QualType ResultTy = S.Context.getLValueReferenceType(PointeeType); in addSubscriptOverloads() local
7994 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addSubscriptOverloads()
8044 QualType ResultTy = S.Context.getLValueReferenceType(T); in addArrowStarOverloads() local
8045 S.AddBuiltinCandidate(ResultTy, ParamTypes, Args, CandidateSet); in addArrowStarOverloads()
[all …]
DSemaExpr.cpp5769 QualType ResultTy = CompositeTy.withCVRQualifiers(MergedCVRQual); in checkConditionalPointerCompatibility() local
5771 ResultTy = S.Context.getBlockPointerType(ResultTy); in checkConditionalPointerCompatibility()
5773 ResultTy = S.Context.getPointerType(ResultTy); in checkConditionalPointerCompatibility()
5775 LHS = S.ImpCastExprToType(LHS.get(), ResultTy, CK_BitCast); in checkConditionalPointerCompatibility()
5776 RHS = S.ImpCastExprToType(RHS.get(), ResultTy, CK_BitCast); in checkConditionalPointerCompatibility()
5777 return ResultTy; in checkConditionalPointerCompatibility()
8456 QualType ResultTy = Context.getLogicalOperationType(); in CheckCompareOperands() local
8460 return ResultTy; in CheckCompareOperands()
8467 return ResultTy; in CheckCompareOperands()
8497 return ResultTy; in CheckCompareOperands()
[all …]
DSemaTemplateDeduction.cpp2703 QualType ResultTy; in CheckOriginalCallArgDeduction() local
2707 S.IsNoReturnConversion(A, DeducedA, ResultTy))) in CheckOriginalCallArgDeduction()
/external/llvm/lib/Analysis/
DConstantFolding.cpp675 Type *ResultTy, const DataLayout &DL, in CastGEPIndices() argument
677 Type *IntPtrTy = DL.getIntPtrType(ResultTy); in CastGEPIndices()
728 Type *ResultTy, const DataLayout &DL, in SymbolicallyEvaluateGEP() argument
736 Type *ResultElementTy = ResultTy->getPointerElementType(); in SymbolicallyEvaluateGEP()
753 Res = ConstantExpr::getIntToPtr(Res, ResultTy); in SymbolicallyEvaluateGEP()
801 return ConstantExpr::getIntToPtr(C, ResultTy); in SymbolicallyEvaluateGEP()
876 C = FoldBitCast(C, ResultTy, DL); in SymbolicallyEvaluateGEP()
DLazyValueInfo.cpp771 IntegerType *ResultTy = cast<IntegerType>(BBI->getType()); in solveBlockValueConstantRange() local
805 Result.markConstantRange(LHSRange.truncate(ResultTy->getBitWidth())); in solveBlockValueConstantRange()
808 Result.markConstantRange(LHSRange.signExtend(ResultTy->getBitWidth())); in solveBlockValueConstantRange()
811 Result.markConstantRange(LHSRange.zeroExtend(ResultTy->getBitWidth())); in solveBlockValueConstantRange()
DScalarEvolution.cpp935 Type *ResultTy) { in BinomialCoefficient() argument
938 return SE.getTruncateOrZeroExtend(It, ResultTy); in BinomialCoefficient()
994 unsigned W = SE.getTypeSizeInBits(ResultTy); in BinomialCoefficient()
1040 SE.getTruncateOrZeroExtend(DivResult, ResultTy)); in BinomialCoefficient()
/external/clang/include/clang/AST/
DDeclBase.h1013 typedef ArrayRef<NamedDecl *> ResultTy; typedef
1014 ResultTy Result;
1029 typedef llvm::iterator_adaptor_base<iterator, ResultTy::iterator,
DASTContext.h1073 QualType getFunctionNoProtoType(QualType ResultTy,
1076 QualType getFunctionNoProtoType(QualType ResultTy) const { in getFunctionNoProtoType() argument
1077 return getFunctionNoProtoType(ResultTy, FunctionType::ExtInfo()); in getFunctionNoProtoType()
1081 QualType getFunctionType(QualType ResultTy, ArrayRef<QualType> Args,
/external/clang/include/clang/Sema/
DOverload.h601 QualType ResultTy; member
/external/llvm/lib/AsmParser/
DLLParser.h291 Type *&ResultTy);
DLLParser.cpp1967 Type *&ResultTy) { in ParseStructDefinition() argument
1981 ResultTy = Entry.first; in ParseStructDefinition()
1995 ResultTy = nullptr; in ParseStructDefinition()
1997 return ParseArrayVectorType(ResultTy, true); in ParseStructDefinition()
1998 return ParseType(ResultTy); in ParseStructDefinition()
2016 ResultTy = STy; in ParseStructDefinition()
/external/clang/lib/AST/
DASTContext.cpp2866 ASTContext::getFunctionNoProtoType(QualType ResultTy, in getFunctionNoProtoType() argument
2873 FunctionNoProtoType::Profile(ID, ResultTy, Info); in getFunctionNoProtoType()
2881 if (!ResultTy.isCanonical()) { in getFunctionNoProtoType()
2882 Canonical = getFunctionNoProtoType(getCanonicalType(ResultTy), Info); in getFunctionNoProtoType()
2892 FunctionNoProtoType(ResultTy, Canonical, newInfo); in getFunctionNoProtoType()
2906 ASTContext::getFunctionType(QualType ResultTy, ArrayRef<QualType> ArgArray, in getFunctionType() argument
2913 FunctionProtoType::Profile(ID, ResultTy, ArgArray.begin(), NumArgs, EPI, in getFunctionType()
2923 EPI.ExceptionSpec.Type == EST_None && isCanonicalResultType(ResultTy) && in getFunctionType()
2943 QualType CanResultTy = getCanonicalType(ResultTy); in getFunctionType()
2944 if (ResultTy.getQualifiers().hasObjCLifetime()) { in getFunctionType()
[all …]
DASTImporter.cpp3295 QualType ResultTy = Importer.Import(D->getReturnType()); in VisitObjCMethodDecl() local
3296 if (ResultTy.isNull()) in VisitObjCMethodDecl()
3303 Name.getObjCSelector(), ResultTy, ReturnTInfo, DC, D->isInstanceMethod(), in VisitObjCMethodDecl()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2523 QualType ResultTy = OMethod->getReturnType(); in getOrCreateFunctionType() local
2526 if (ResultTy == CGM.getContext().getObjCInstanceType()) in getOrCreateFunctionType()
2527 ResultTy = CGM.getContext().getPointerType( in getOrCreateFunctionType()
2530 Elts.push_back(getOrCreateType(ResultTy, F)); in getOrCreateFunctionType()

12