Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTLambda.h75 if (CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(D)) in isLambdaConversionOperator() local
76 return isLambdaConversionOperator(Conv); in isLambdaConversionOperator()
78 if (CXXConversionDecl *Conv = in isLambdaConversionOperator() local
80 return isLambdaConversionOperator(Conv); in isLambdaConversionOperator()
/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.h27 LLVM_ABI 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.cpp2558 AssignConvertType Conv = in IsStandardConversion() local
2564 switch (Conv) { in IsStandardConversion()
4071 CXXConversionDecl *Conv; in IsUserDefinedConversion() local
4074 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in IsUserDefinedConversion()
4076 Conv = cast<CXXConversionDecl>(D); in IsUserDefinedConversion()
4084 S.AddConversionCandidate(Conv, FoundDecl, ActingContext, From, ToType, in IsUserDefinedConversion()
4204 getConversionOpReturnTyAsFunction(CXXConversionDecl *Conv) { in getConversionOpReturnTyAsFunction() argument
4205 const FunctionType *ConvFuncTy = Conv->getType()->castAs<FunctionType>(); in getConversionOpReturnTyAsFunction()
5063 ReferenceConversions &Conv = ConvOut ? *ConvOut : ConvTmp; in CompareReferenceRelationship() local
5064 Conv = ReferenceConversions(); in CompareReferenceRelationship()
[all …]
H A DSemaOpenACC.cpp451 CXXConversionDecl *Conv, in ActOnIntExpr() argument
453 return S.Diag(Conv->getLocation(), diag::note_acc_int_expr_conversion) in ActOnIntExpr()
463 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in ActOnIntExpr() argument
464 return S.Diag(Conv->getLocation(), diag::note_acc_int_expr_conversion) in ActOnIntExpr()
H A DSemaExprCXX.cpp2329 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew() argument
2330 return S.Diag(Conv->getLocation(), diag::note_array_size_conversion) in BuildCXXNew()
2340 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in BuildCXXNew() argument
2341 return S.Diag(Conv->getLocation(), diag::note_array_size_conversion) in BuildCXXNew()
3989 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete() argument
3991 return S.Diag(Conv->getLocation(), diag::note_delete_conversion) in ActOnCXXDelete()
4000 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in ActOnCXXDelete() argument
4002 return S.Diag(Conv->getLocation(), diag::note_delete_conversion) in ActOnCXXDelete()
4532 CXXConversionDecl *Conv = cast<CXXConversionDecl>(Method); in BuildCXXCastArgument() local
4533 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument()
[all …]
H A DSemaDeclCXX.cpp16069 CXXConversionDecl *Conv) { in DefineImplicitLambdaToFunctionPointerConversion() argument
16070 SynthesizedFunctionScope Scope(*this, Conv); in DefineImplicitLambdaToFunctionPointerConversion()
16071 assert(!Conv->getReturnType()->isUndeducedType()); in DefineImplicitLambdaToFunctionPointerConversion()
16073 QualType ConvRT = Conv->getType()->castAs<FunctionType>()->getReturnType(); in DefineImplicitLambdaToFunctionPointerConversion()
16077 CXXRecordDecl *Lambda = Conv->getParent(); in DefineImplicitLambdaToFunctionPointerConversion()
16084 if (auto *TemplateArgs = Conv->getTemplateSpecializationArgs()) { in DefineImplicitLambdaToFunctionPointerConversion()
16115 Invoker->setType(Conv->getReturnType()->getPointeeType()); in DefineImplicitLambdaToFunctionPointerConversion()
16116 Invoker->setBody(new (Context) CompoundStmt(Conv->getLocation())); in DefineImplicitLambdaToFunctionPointerConversion()
16121 Conv->getLocation()); in DefineImplicitLambdaToFunctionPointerConversion()
16123 Stmt *Return = BuildReturnStmt(Conv->getLocation(), FunctionRef).get(); in DefineImplicitLambdaToFunctionPointerConversion()
[all …]
H A DSemaCoroutine.cpp391 ExprResult Conv = S.PerformContextuallyConvertToBool(AwaitReady); in buildCoawaitCalls() local
392 if (Conv.isInvalid()) { in buildCoawaitCalls()
399 Calls.Results[ACT::ACT_Ready] = S.MaybeCreateExprWithCleanups(Conv.get()); in buildCoawaitCalls()
H A DSemaInit.cpp4426 CXXConversionDecl *Conv; in ResolveConstructorOverload() local
4428 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in ResolveConstructorOverload()
4430 Conv = cast<CXXConversionDecl>(D); in ResolveConstructorOverload()
4438 S.AddConversionCandidate(Conv, I.getPair(), ActingDC, Initializer, in ResolveConstructorOverload()
5214 CXXConversionDecl *Conv; in TryRefInitWithConversionFunction() local
5216 Conv = cast<CXXConversionDecl>(ConvTemplate->getTemplatedDecl()); in TryRefInitWithConversionFunction()
5218 Conv = cast<CXXConversionDecl>(D); in TryRefInitWithConversionFunction()
5227 Conv->getConversionType()->isLValueReferenceType())) { in TryRefInitWithConversionFunction()
5235 Conv, I.getPair(), ActingDC, Initializer, DestType, CandidateSet, in TryRefInitWithConversionFunction()
6154 CXXConversionDecl *Conv; in TryUserDefinedConversion() local
[all …]
H A DCheckExprLifetime.cpp349 if (auto *Conv = dyn_cast_or_null<CXXConversionDecl>(Callee)) in shouldTrackImplicitObjectArg() local
350 if (isRecordWithAttr<PointerAttr>(Conv->getConversionType()) && in shouldTrackImplicitObjectArg()
H A DSemaLambda.cpp2347 CXXConversionDecl *Conv, in BuildBlockForLambdaConversion() argument
2350 CXXRecordDecl *Lambda = Conv->getParent(); in BuildBlockForLambdaConversion()
2409 new (Context) BlockExpr(Block, Conv->getConversionType(), in BuildBlockForLambdaConversion()
H A DSemaStmt.cpp1144 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition() argument
1145 return S.Diag(Conv->getLocation(), diag::note_switch_conversion) in CheckSwitchCondition()
1155 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition() argument
1156 return S.Diag(Conv->getLocation(), diag::note_switch_conversion) in CheckSwitchCondition()
H A DSemaCodeComplete.cpp8462 ExprResult Conv = SemaRef.DefaultFunctionArrayLvalueConversion(RecExpr); in CodeCompleteObjCInstanceMessage() local
8463 if (Conv.isInvalid()) // conversion failed. bail. in CodeCompleteObjCInstanceMessage()
8465 RecExpr = Conv.get(); in CodeCompleteObjCInstanceMessage()
8487 ExprResult Conv = SemaRef.PerformContextuallyConvertToObjCPointer(RecExpr); in CodeCompleteObjCInstanceMessage() local
8488 if (Conv.isUsable()) { in CodeCompleteObjCInstanceMessage()
8489 RecExpr = Conv.get(); in CodeCompleteObjCInstanceMessage()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h55 std::optional<CallingConv::ID> Conv) in VecDesc() argument
58 VABIPrefix(VABIPrefix), CC(Conv) {} in VecDesc()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp709 Value *Conv = nullptr; in replaceFloatIVWithIntegerIV() local
717 Conv = Builder.CreateTrunc(IVOperand, CI->getType(), Name + ".trunc"); in replaceFloatIVWithIntegerIV()
720 Conv = Builder.CreateZExt(IVOperand, CI->getType(), Name + ".zext"); in replaceFloatIVWithIntegerIV()
722 Conv = Builder.CreateSExt(IVOperand, CI->getType(), Name + ".sext"); in replaceFloatIVWithIntegerIV()
725 Conv = IVOperand; in replaceFloatIVWithIntegerIV()
727 CI->replaceAllUsesWith(Conv); in replaceFloatIVWithIntegerIV()
730 << " 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.td113 // Register File, Calling Conv, Instruction Descriptions
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp395 Instruction *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv", in handleFloatingPointIV() local
397 Conv->setDebugLoc(PN->getDebugLoc()); in handleFloatingPointIV()
398 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.cpp8425 SDValue Conv; in convertFPToInt() local
8428 Conv = DAG.getNode(Opc, dl, DAG.getVTList(ConvTy, MVT::Other), {Chain, Src}, in convertFPToInt()
8431 Conv = DAG.getNode(Opc, dl, ConvTy, Src); in convertFPToInt()
8433 return Conv; in convertFPToInt()
8486 SDValue Conv = convertFPToInt(Op, DAG, Subtarget); in LowerFP_TO_INTDirectMove() local
8487 SDValue Mov = DAG.getNode(PPCISD::MFVSR, dl, Op.getValueType(), Conv); in LowerFP_TO_INTDirectMove()
8489 return DAG.getMergeValues({Mov, Conv.getValue(1)}, dl); in LowerFP_TO_INTDirectMove()
10543 SDValue Conv = DAG.getNode(ISD::BITCAST, dl, MVT::v8i16, V1); in LowerVECTOR_SHUFFLE() local
10544 SDValue ReveHWord = DAG.getNode(ISD::BSWAP, dl, MVT::v8i16, Conv); in LowerVECTOR_SHUFFLE()
10547 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);
3215 ExtOrTruncConversion Conv) { in addExtOrTrunc() argument
3220 if (Conv == ExtOrTruncConversion::Ext) { in addExtOrTrunc()
3228 assert(Conv == ExtOrTruncConversion::Trunc && in addExtOrTrunc()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1863 static CanQualType GetConversionType(ASTContext &Context, NamedDecl *Conv) { in GetConversionType() argument
1865 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5653 CXXConversionDecl *Conv);
5663 CXXConversionDecl *Conv);
9153 CXXConversionDecl *Conv, Expr *Src);
10262 noteExplicitConv(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
10271 noteAmbiguous(Sema &S, CXXConversionDecl *Conv, QualType ConvTy) = 0;
10352 ReferenceConversions *Conv = nullptr);

12