Home
last modified time | relevance | path

Searched refs:getIntrinsic (Results 1 – 25 of 39) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGBuiltin.cpp228 Value *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitUnaryBuiltin()
239 Value *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitBinaryBuiltin()
251 Value *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitTernaryBuiltin()
262 Value *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitFPIntBuiltin()
268 Value *F = CGF.CGM.getIntrinsic(Intrinsic::fabs, V->getType()); in EmitFAbs()
329 llvm::Value *Callee = CGF.CGM.getIntrinsic(IntrinsicID, X->getType()); in EmitOverflowIntrinsic()
340 Value *F = CGF.CGM.getIntrinsic(IntrinsicID, {}); in emitRangedBuiltin()
397 return Builder.CreateCall(CGM.getIntrinsic(inst), ArgValue); in EmitVAStartEnd()
461 Value *F = CGM.getIntrinsic(Intrinsic::objectsize, Tys); in emitBuiltinObjectSize()
502 return RValue::get(Builder.CreateCall(CGM.getIntrinsic(Intrinsic::vacopy), in EmitBuiltinExpr()
[all …]
DCGException.cpp939 CGF.CGM.getIntrinsic(llvm::Intrinsic::eh_typeid_for); in emitCatchDispatchBlock()
1421 llvm::Value *LocalAddrFn = CGM.getIntrinsic(llvm::Intrinsic::localaddress); in Emit()
1559 CGM.getIntrinsic(llvm::Intrinsic::frameaddress), {Builder.getInt32(1)}); in EmitCapturedLocals()
1574 CGM.getIntrinsic(llvm::Intrinsic::x86_seh_recoverfp); in EmitCapturedLocals()
1867 CGM.getIntrinsic(llvm::Intrinsic::eh_exceptioncode); in ExitSEHTryStmt()
DCGExprScalar.cpp714 CGF.CGM.getIntrinsic(llvm::Intrinsic::fabs, Src->getType()), Src); in EmitFloatConversionCheck()
764 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_from_fp16, DstTy), in EmitScalarConversion()
772 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_from_fp16, in EmitScalarConversion()
849 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, SrcTy), Src); in EmitScalarConversion()
886 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, CGF.CGM.FloatTy), in EmitScalarConversion()
1768 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_from_fp16, in EmitScalarPrePostIncDec()
1803 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, in EmitScalarPrePostIncDec()
2341 llvm::Function *intrinsic = CGF.CGM.getIntrinsic(IID, opTy); in EmitOverflowCheckedBinOp()
2524 CGF.CGM.getIntrinsic(llvm::Intrinsic::fmuladd, Addend->getType()), in buildFMulAdd()
2902 llvm::Function *F = CGF.CGM.getIntrinsic(ID); in EmitCompare()
DCodeGenPGO.cpp744 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::instrprof_increment), in emitCounterIncrement()
777 CGM.getIntrinsic(llvm::Intrinsic::instrprof_value_profile), Args); in valueProfile()
DCGClass.cpp2624 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::type_test), in EmitTypeMetadataCodeForVCall()
2626 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::assume), TypeTest); in EmitTypeMetadataCodeForVCall()
2726 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedVTable, TypeId}); in EmitVTablePtrCheck()
2767 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedVTable, AllVtables}); in EmitVTablePtrCheck()
2795 CGM.getIntrinsic(llvm::Intrinsic::type_checked_load), in EmitVTableTypeCheckedLoad()
DCodeGenFunction.cpp419 CGM.getIntrinsic(llvm::Intrinsic::returnaddress), in EmitFunctionInstrumentation()
1870 EmitAnnotationCall(CGM.getIntrinsic(llvm::Intrinsic::var_annotation), in EmitVarAnnotations()
1880 llvm::Value *F = CGM.getIntrinsic(llvm::Intrinsic::ptr_annotation, in EmitFieldAnnotations()
DCGDeclCXX.cpp130 llvm::Constant *InvariantStart = CGF.CGM.getIntrinsic(InvStartID); in EmitDeclInvariant()
DCGExpr.cpp576 llvm::Value *F = CGM.getIntrinsic(llvm::Intrinsic::objectsize, Tys); in EmitTypeCheck()
1581 llvm::Value *F = CGM.getIntrinsic(llvm::Intrinsic::read_register, Types); in EmitLoadOfGlobalRegLValue()
1834 llvm::Value *F = CGM.getIntrinsic(llvm::Intrinsic::write_register, Types); in EmitStoreThroughGlobalRegLValue()
2702 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::type_test), in EmitCfiCheckFail()
2753 llvm::CallInst *TrapCall = Builder.CreateCall(CGM.getIntrinsic(IntrID)); in EmitTrapCall()
4074 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedCallee, TypeId}); in EmitCall()
DCGDecl.cpp480 llvm::Value *F = CGF.CGM.getIntrinsic(llvm::Intrinsic::stackrestore); in Emit()
1070 llvm::Value *F = CGM.getIntrinsic(llvm::Intrinsic::stacksave); in EmitAutoVarAlloca()
DCodeGenModule.h834 llvm::Function *getIntrinsic(unsigned IID, ArrayRef<llvm::Type*> Tys = None);
/external/llvm-project/clang/lib/CodeGen/
DCGBuiltin.cpp444 Function *F = CGF.CGM.getIntrinsic(ConstrainedIntrinsicID, Src0->getType()); in emitUnaryMaybeConstrainedFPBuiltin()
447 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitUnaryMaybeConstrainedFPBuiltin()
462 Function *F = CGF.CGM.getIntrinsic(ConstrainedIntrinsicID, Src0->getType()); in emitBinaryMaybeConstrainedFPBuiltin()
465 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitBinaryMaybeConstrainedFPBuiltin()
481 Function *F = CGF.CGM.getIntrinsic(ConstrainedIntrinsicID, Src0->getType()); in emitTernaryMaybeConstrainedFPBuiltin()
484 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitTernaryMaybeConstrainedFPBuiltin()
498 F = CGF.CGM.getIntrinsic(ConstrainedIntrinsicID, Ty); in emitCallMaybeConstrainedFPBuiltin()
500 F = CGF.CGM.getIntrinsic(IntrinsicID, Ty); in emitCallMaybeConstrainedFPBuiltin()
515 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitUnaryBuiltin()
526 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitBinaryBuiltin()
[all …]
DCGCoroutine.cpp197 llvm::Function *CoroSave = CGF.CGM.getIntrinsic(llvm::Intrinsic::coro_save); in emitSuspendExpression()
213 CGF.CGM.getIntrinsic(llvm::Intrinsic::coro_suspend); in emitSuspendExpression()
400 llvm::Function *CoroEndFn = CGM.getIntrinsic(llvm::Intrinsic::coro_end); in Emit()
555 CGM.getIntrinsic(llvm::Intrinsic::coro_id), in EmitCoroutineBody()
563 CGM.getIntrinsic(llvm::Intrinsic::coro_alloc), {CoroId}); in EmitCoroutineBody()
595 CGM.getIntrinsic(llvm::Intrinsic::coro_begin), {CoroId, Phi}); in EmitCoroutineBody()
688 llvm::Function *CoroEnd = CGM.getIntrinsic(llvm::Intrinsic::coro_end); in EmitCoroutineBody()
737 llvm::Function *F = CGM.getIntrinsic(IID); in EmitCoroutineIntrinsic()
DCGOpenMPRuntimeAMDGCN.cpp45 CGF.CGM.getIntrinsic(llvm::Intrinsic::amdgcn_workitem_id_x); in getGPUThreadID()
DCGException.cpp993 CGF.CGM.getIntrinsic(llvm::Intrinsic::wasm_get_exception); in emitWasmCatchPadBlock()
995 CGF.CGM.getIntrinsic(llvm::Intrinsic::wasm_get_ehselector); in emitWasmCatchPadBlock()
1000 llvm::Function *TypeIDFn = CGF.CGM.getIntrinsic(llvm::Intrinsic::eh_typeid_for); in emitWasmCatchPadBlock()
1085 CGF.CGM.getIntrinsic(llvm::Intrinsic::eh_typeid_for); in emitCatchDispatchBlock()
1275 CGM.getIntrinsic(llvm::Intrinsic::wasm_rethrow_in_catch); in ExitCXXTryStmt()
1561 CGM.getIntrinsic(llvm::Intrinsic::wasm_get_exception); in getTerminateFunclet()
1648 CGM.getIntrinsic(llvm::Intrinsic::localaddress); in Emit()
1802 CGM.getIntrinsic(llvm::Intrinsic::frameaddress, AllocaInt8PtrTy), in EmitCapturedLocals()
1818 CGM.getIntrinsic(llvm::Intrinsic::eh_recoverfp); in EmitCapturedLocals()
2150 CGM.getIntrinsic(llvm::Intrinsic::eh_exceptioncode); in ExitSEHTryStmt()
DCodeGenPGO.cpp936 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::instrprof_increment), in emitCounterIncrement()
940 CGM.getIntrinsic(llvm::Intrinsic::instrprof_increment_step), in emitCounterIncrement()
970 CGM.getIntrinsic(llvm::Intrinsic::instrprof_value_profile), Args); in valueProfile()
DCGObjC.cpp2074 fn = CGM.getIntrinsic(llvm::Intrinsic::objc_clang_arc_use); in EmitARCIntrinsicUse()
2109 fn = CGF.CGM.getIntrinsic(IntID); in emitARCValueOperation()
2131 fn = CGF.CGM.getIntrinsic(IntID); in emitARCLoadOperation()
2159 fn = CGF.CGM.getIntrinsic(IntID); in emitARCStoreOperation()
2184 fn = CGF.CGM.getIntrinsic(IntID); in emitARCCopyOperation()
2366 fn = CGM.getIntrinsic(llvm::Intrinsic::objc_release); in EmitARCRelease()
2412 fn = CGM.getIntrinsic(llvm::Intrinsic::objc_storeStrong); in EmitARCStoreStrongCall()
2568 fn = CGM.getIntrinsic(llvm::Intrinsic::objc_destroyWeak); in EmitARCDestroyWeak()
2616 fn = CGM.getIntrinsic(llvm::Intrinsic::objc_autoreleasePoolPush); in EmitObjCAutoreleasePoolPush()
2644 fn = CGM.getIntrinsic(llvm::Intrinsic::objc_autoreleasePoolPop); in EmitObjCAutoreleasePoolPop()
DCGExprScalar.cpp1254 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_from_fp16, DstTy), in EmitScalarConversion()
1262 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_from_fp16, in EmitScalarConversion()
1379 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, SrcTy), Src); in EmitScalarConversion()
1416 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, CGF.CGM.FloatTy), in EmitScalarConversion()
2559 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_from_fp16, in EmitScalarPrePostIncDec()
2594 CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, in EmitScalarPrePostIncDec()
3200 llvm::Function *intrinsic = CGF.CGM.getIntrinsic(IID, opTy); in EmitOverflowCheckedBinOp()
3410 CGF.CGM.getIntrinsic(llvm::Intrinsic::experimental_constrained_fmuladd, in buildFMulAdd()
3415 CGF.CGM.getIntrinsic(llvm::Intrinsic::fmuladd, Addend->getType()), in buildFMulAdd()
3979 llvm::Function *F = CGF.CGM.getIntrinsic(ID); in EmitCompare()
[all …]
DCGClass.cpp2683 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::type_test), in EmitTypeMetadataCodeForVCall()
2685 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::assume), TypeTest); in EmitTypeMetadataCodeForVCall()
2791 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedVTable, TypeId}); in EmitVTablePtrCheck()
2814 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedVTable, AllVtables}); in EmitVTablePtrCheck()
2848 CGM.getIntrinsic(llvm::Intrinsic::type_checked_load), in EmitVTableTypeCheckedLoad()
DItaniumCXXABI.cpp728 CGM.getIntrinsic(llvm::Intrinsic::type_checked_load), in EmitLoadOfMemberFunctionPointer()
740 CGM.getIntrinsic(llvm::Intrinsic::type_test), in EmitLoadOfMemberFunctionPointer()
746 CGM.getIntrinsic(llvm::Intrinsic::load_relative, in EmitLoadOfMemberFunctionPointer()
780 CGM.getIntrinsic(llvm::Intrinsic::type_test), {VTable, AllVtables}); in EmitLoadOfMemberFunctionPointer()
822 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::type_test), in EmitLoadOfMemberFunctionPointer()
1458 CGM.getIntrinsic(llvm::Intrinsic::load_relative, {CGM.Int32Ty}), in EmitTypeid()
1900 CGM.getIntrinsic(llvm::Intrinsic::load_relative, {CGM.Int32Ty}), in getVirtualFunctionPointer()
DCGExpr.cpp750 llvm::Function *F = CGM.getIntrinsic(llvm::Intrinsic::objectsize, Tys); in EmitTypeCheck()
2051 llvm::Function *F = CGM.getIntrinsic(llvm::Intrinsic::read_register, Types); in EmitLoadOfGlobalRegLValue()
2327 llvm::Function *F = CGM.getIntrinsic(llvm::Intrinsic::write_register, Types); in EmitStoreThroughGlobalRegLValue()
3429 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::type_test), in EmitCfiCheckFail()
3486 Builder.CreateCall(CGM.getIntrinsic(llvm::Intrinsic::ubsantrap), in EmitTrapCheck()
3511 Builder.CreateCall(CGM.getIntrinsic(IntrID)); in EmitTrapCall()
5188 CGM.getIntrinsic(llvm::Intrinsic::type_test), {CastedCallee, TypeId}); in EmitCall()
DCGDeclCXX.cpp165 llvm::Function *InvariantStart = CGM.getIntrinsic(InvStartID, ObjectPtr); in EmitInvariantStart()
/external/llvm-project/llvm/utils/TableGen/
DSearchableTableEmitter.cpp125 return "Intrinsic::" + getIntrinsic(I).EnumName; in primaryRepresentation()
145 CodeGenIntrinsic &getIntrinsic(Init *I) { in getIntrinsic() function in __anon29333f3e0111::SearchableTableEmitter
236 CodeGenIntrinsic &LHSi = getIntrinsic(LHSI); in compareBy()
237 CodeGenIntrinsic &RHSi = getIntrinsic(RHSI); in compareBy()
/external/clang/utils/TableGen/
DNeonEmitter.cpp513 Intrinsic &getIntrinsic(StringRef Name, ArrayRef<Type> Types);
1497 Intrinsic &Callee = Intr.Emitter.getIntrinsic(N, Types); in emitDagCall()
1860 Intrinsic &NeonEmitter::getIntrinsic(StringRef Name, ArrayRef<Type> Types) { in getIntrinsic() function in NeonEmitter
/external/llvm-project/clang/utils/TableGen/
DNeonEmitter.cpp557 Intrinsic &getIntrinsic(StringRef Name, ArrayRef<Type> Types,
1471 Intrinsic &Callee = Intr.Emitter.getIntrinsic(N, Types, MangledName); in emitDagCall()
1878 Intrinsic &NeonEmitter::getIntrinsic(StringRef Name, ArrayRef<Type> Types, in getIntrinsic() function in NeonEmitter
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h769 const CodeGenIntrinsic &getIntrinsic(Record *R) const { in getIntrinsic() function

12