Home
last modified time | relevance | path

Searched refs:Conv (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp102 const Stmt *Conv = Result.Nodes.getNodeAs<Stmt>("conv"); in run() local
103 assert(Conv); in run()
192 Conv->getSourceRange()); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanai.td16 // Register File, Calling Conv, Instruction Descriptions
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBExtras.h26 raw_ostream &operator<<(raw_ostream &OS, const PDB_CallingConv &Conv);
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVE.td26 // Register File, Calling Conv, Instruction Descriptions
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp2383 Sema::AssignConvertType Conv = in IsStandardConversion() local
2389 switch (Conv) { in IsStandardConversion()
3839 CXXConversionDecl *Conv; in IsUserDefinedConversion() local
3842 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
3844 Conv = cast<CXXConversionDecl>(D); in IsUserDefinedConversion()
3852 S.AddConversionCandidate(Conv, FoundDecl, ActingContext, From, ToType, in IsUserDefinedConversion()
3968 getConversionOpReturnTyAsFunction(CXXConversionDecl *Conv) { in getConversionOpReturnTyAsFunction() argument
3969 const FunctionType *ConvFuncTy = Conv->getType()->castAs<FunctionType>(); in getConversionOpReturnTyAsFunction()
4831 ReferenceConversions &Conv = ConvOut ? *ConvOut : ConvTmp; in CompareReferenceRelationship() local
4832 Conv = ReferenceConversions(); in CompareReferenceRelationship()
[all …]
H A DSemaOpenACC.cpp1293 CXXConversionDecl *Conv, in ActOnIntExpr() argument
1295 return S.Diag(Conv->getLocation(), diag::note_acc_int_expr_conversion) in ActOnIntExpr()
1305 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in ActOnIntExpr() argument
1306 return S.Diag(Conv->getLocation(), diag::note_acc_int_expr_conversion) in ActOnIntExpr()
H A DSemaDeclCXX.cpp15780 CXXConversionDecl *Conv) { in DefineImplicitLambdaToFunctionPointerConversion() argument
15781 SynthesizedFunctionScope Scope(*this, Conv); in DefineImplicitLambdaToFunctionPointerConversion()
15782 assert(!Conv->getReturnType()->isUndeducedType()); in DefineImplicitLambdaToFunctionPointerConversion()
15784 QualType ConvRT = Conv->getType()->castAs<FunctionType>()->getReturnType(); in DefineImplicitLambdaToFunctionPointerConversion()
15788 CXXRecordDecl *Lambda = Conv->getParent(); in DefineImplicitLambdaToFunctionPointerConversion()
15795 if (auto *TemplateArgs = Conv->getTemplateSpecializationArgs()) { in DefineImplicitLambdaToFunctionPointerConversion()
15826 Invoker->setType(Conv->getReturnType()->getPointeeType()); in DefineImplicitLambdaToFunctionPointerConversion()
15827 Invoker->setBody(new (Context) CompoundStmt(Conv->getLocation())); in DefineImplicitLambdaToFunctionPointerConversion()
15832 Conv->getLocation()); in DefineImplicitLambdaToFunctionPointerConversion()
15834 Stmt *Return = BuildReturnStmt(Conv in DefineImplicitLambdaToFunctionPointerConversion()
15848 DefineImplicitLambdaToBlockPointerConversion(SourceLocation CurrentLocation,CXXConversionDecl * Conv) DefineImplicitLambdaToBlockPointerConversion() argument
[all...]
H A DCheckExprLifetime.cpp273 if (auto *Conv = dyn_cast_or_null<CXXConversionDecl>(Callee)) in shouldTrackImplicitObjectArg() local
274 if (isRecordWithAttr<PointerAttr>(Conv->getConversionType())) in shouldTrackImplicitObjectArg()
H A DSemaCoroutine.cpp403 ExprResult Conv = S.PerformContextuallyConvertToBool(AwaitReady); in buildCoawaitCalls() local
404 if (Conv.isInvalid()) { in buildCoawaitCalls()
411 Calls.Results[ACT::ACT_Ready] = S.MaybeCreateExprWithCleanups(Conv.get()); in buildCoawaitCalls()
H A DSemaInit.cpp4307 CXXConversionDecl *Conv; in ResolveConstructorOverload() local
4309 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in ResolveConstructorOverload()
4311 Conv = cast<CXXConversionDecl>(D); in ResolveConstructorOverload()
4319 S.AddConversionCandidate(Conv, I.getPair(), ActingDC, Initializer, in ResolveConstructorOverload()
4957 CXXConversionDecl *Conv; in TryRefInitWithConversionFunction() local
4959 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
4961 Conv = cast<CXXConversionDecl>(D); in TryRefInitWithConversionFunction()
4970 Conv->getConversionType()->isLValueReferenceType())) { in TryRefInitWithConversionFunction()
4978 Conv, I.getPair(), ActingDC, Initializer, DestType, CandidateSet, in TryRefInitWithConversionFunction()
5887 CXXConversionDecl *Conv; in TryUserDefinedConversion() local
[all …]
H A DSemaExprCXX.cpp2226 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew() argument
2227 return S.Diag(Conv->getLocation(), diag::note_array_size_conversion) in BuildCXXNew()
2237 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew() argument
2238 return S.Diag(Conv->getLocation(), diag::note_array_size_conversion) in BuildCXXNew()
3674 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete() argument
3676 return S.Diag(Conv->getLocation(), diag::note_delete_conversion) in ActOnCXXDelete()
3685 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete() argument
3687 return S.Diag(Conv->getLocation(), diag::note_delete_conversion) in ActOnCXXDelete()
4182 CXXConversionDecl *Conv = cast<CXXConversionDecl>(Method); in BuildCXXCastArgument() local
4183 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument()
[all …]
H A DSemaLambda.cpp2288 CXXConversionDecl *Conv, in BuildBlockForLambdaConversion() argument
2291 CXXRecordDecl *Lambda = Conv->getParent(); in BuildBlockForLambdaConversion()
2348 Expr *BuildBlock = new (Context) BlockExpr(Block, Conv->getConversionType()); in BuildBlockForLambdaConversion()
H A DSemaStmt.cpp1083 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition() argument
1084 return S.Diag(Conv->getLocation(), diag::note_switch_conversion) in CheckSwitchCondition()
1094 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition() argument
1095 return S.Diag(Conv->getLocation(), diag::note_switch_conversion) in CheckSwitchCondition()
H A DSemaCodeComplete.cpp8314 ExprResult Conv = SemaRef.DefaultFunctionArrayLvalueConversion(RecExpr); in CodeCompleteObjCInstanceMessage() local
8315 if (Conv.isInvalid()) // conversion failed. bail. in CodeCompleteObjCInstanceMessage()
8317 RecExpr = Conv.get(); in CodeCompleteObjCInstanceMessage()
8339 ExprResult Conv = SemaRef.PerformContextuallyConvertToObjCPointer(RecExpr); in CodeCompleteObjCInstanceMessage() local
8340 if (Conv.isUsable()) { in CodeCompleteObjCInstanceMessage()
8341 RecExpr = Conv.get(); in CodeCompleteObjCInstanceMessage()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp707 Value *Conv = nullptr; in replaceFloatIVWithIntegerIV() local
715 Conv = Builder.CreateTrunc(IVOperand, CI->getType(), Name + ".trunc"); in replaceFloatIVWithIntegerIV()
718 Conv = Builder.CreateZExt(IVOperand, CI->getType(), Name + ".zext"); in replaceFloatIVWithIntegerIV()
720 Conv = Builder.CreateSExt(IVOperand, CI->getType(), Name + ".sext"); in replaceFloatIVWithIntegerIV()
723 Conv = IVOperand; in replaceFloatIVWithIntegerIV()
725 CI->replaceAllUsesWith(Conv); in replaceFloatIVWithIntegerIV()
728 << " with: " << *Conv << '\n'); in replaceFloatIVWithIntegerIV()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp72 const PDB_CallingConv &Conv) { in operator <<() argument
74 switch (Conv) { in operator <<()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparc.td91 // Register File, Calling Conv, Instruction Descriptions
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp397 Instruction *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv", in handleFloatingPointIV() local
399 Conv->setDebugLoc(PN->getDebugLoc()); in handleFloatingPointIV()
400 PN->replaceAllUsesWith(Conv); in handleFloatingPointIV()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips.td216 // Register File, Calling Conv, Instruction Descriptions
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp8359 SDValue Conv; in convertFPToInt() local
8362 Conv = DAG.getNode(Opc, dl, DAG.getVTList(ConvTy, MVT::Other), {Chain, Src}, in convertFPToInt()
8365 Conv = DAG.getNode(Opc, dl, ConvTy, Src); in convertFPToInt()
8367 return Conv; in convertFPToInt()
8420 SDValue Conv = convertFPToInt(Op, DAG, Subtarget); in LowerFP_TO_INTDirectMove() local
8421 SDValue Mov = DAG.getNode(PPCISD::MFVSR, dl, Op.getValueType(), Conv); in LowerFP_TO_INTDirectMove()
8423 return DAG.getMergeValues({Mov, Conv.getValue(1)}, dl); in LowerFP_TO_INTDirectMove()
10296 SDValue Conv = DAG.getNode(ISD::BITCAST, dl, MVT::v8i16, V1); in LowerVECTOR_SHUFFLE() local
10297 SDValue ReveHWord = DAG.getNode(ISD::BSWAP, dl, MVT::v8i16, Conv); in LowerVECTOR_SHUFFLE()
10300 SDValue Conv = DAG.getNode(ISD::BITCAST, dl, MVT::v4i32, V1); in LowerVECTOR_SHUFFLE() local
[all …]
H A DPPCISelDAGToDAG.cpp2910 SDValue addExtOrTrunc(SDValue NatWidthRes, ExtOrTruncConversion Conv);
3216 ExtOrTruncConversion Conv) { in addExtOrTrunc() argument
3221 if (Conv == ExtOrTruncConversion::Ext) { in addExtOrTrunc()
3229 assert(Conv == ExtOrTruncConversion::Trunc && in addExtOrTrunc()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1746 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType() argument
1748 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DExprConstant.cpp4336 handleLValueToRValueConversion(EvalInfo &Info, const Expr *Conv, QualType Type, in handleLValueToRValueConversion() argument
4354 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4378 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4385 return extractSubobject(Info, Conv, LitObj, LVal.Designator, RVal, AK); in handleLValueToRValueConversion()
4395 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4400 Info.FFDiag(Conv, diag::note_constexpr_access_past_end) << AK; in handleLValueToRValueConversion()
4402 Info.FFDiag(Conv); in handleLValueToRValueConversion()
4411 CompleteObject Obj = findCompleteObject(Info, Conv, AK, LVal, Type); in handleLValueToRValueConversion()
4412 return Obj && extractSubobject(Info, Conv, Obj, LVal.Designator, RVal, AK); in handleLValueToRValueConversion()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5238 CXXConversionDecl *Conv);
5248 CXXConversionDecl *Conv);
8874 CXXConversionDecl *Conv, Expr *Src);
10071 noteExplicitConv(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
10080 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
10161 ReferenceConversions *Conv = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2523 SDValue Conv = DAG.getNode(Op, SDLoc(N), ExtVT, N->getOperand(0)); in performVectorExtendToFPCombine() local
2524 return DAG.getNode(N->getOpcode(), SDLoc(N), ResVT, Conv); in performVectorExtendToFPCombine()

12