Lines Matching refs:IntrinsicID

495                                 const CallExpr *E, unsigned IntrinsicID,  in emitUnaryMaybeConstrainedFPBuiltin()  argument
504 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitUnaryMaybeConstrainedFPBuiltin()
512 const CallExpr *E, unsigned IntrinsicID, in emitBinaryMaybeConstrainedFPBuiltin() argument
522 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitBinaryMaybeConstrainedFPBuiltin()
529 CodeGenFunction &CGF, const CallExpr *E, llvm::Intrinsic::ID IntrinsicID, in emitBinaryExpMaybeConstrainedFPBuiltin() argument
542 CGF.CGM.getIntrinsic(IntrinsicID, {Src0->getType(), Src1->getType()}); in emitBinaryExpMaybeConstrainedFPBuiltin()
549 const CallExpr *E, unsigned IntrinsicID, in emitTernaryMaybeConstrainedFPBuiltin() argument
560 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitTernaryMaybeConstrainedFPBuiltin()
568 unsigned IntrinsicID, in emitCallMaybeConstrainedFPBuiltin() argument
576 F = CGF.CGM.getIntrinsic(IntrinsicID, Ty); in emitCallMaybeConstrainedFPBuiltin()
589 unsigned IntrinsicID, in emitBuiltinWithOneOverloadedType() argument
595 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Args[0]->getType()); in emitBuiltinWithOneOverloadedType()
602 unsigned IntrinsicID) { in emitFPIntBuiltin() argument
606 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitFPIntBuiltin()
613 unsigned IntrinsicID, in emitMaybeConstrainedFPToIntRoundBuiltin() argument
625 CGF.CGM.getIntrinsic(IntrinsicID, {ResultType, Src0->getType()}); in emitMaybeConstrainedFPToIntRoundBuiltin()
631 llvm::Intrinsic::ID IntrinsicID) { in emitFrexpBuiltin() argument
638 CGF.CGM.getIntrinsic(IntrinsicID, {Src0->getType(), IntTy}); in emitFrexpBuiltin()
731 const llvm::Intrinsic::ID IntrinsicID, in EmitOverflowIntrinsic() argument
739 Function *Callee = CGF.CGM.getIntrinsic(IntrinsicID, X->getType()); in EmitOverflowIntrinsic()
745 static Value *emitRangedBuiltin(CodeGenFunction &CGF, unsigned IntrinsicID, in emitRangedBuiltin() argument
747 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, {}); in emitRangedBuiltin()
5435 auto IntrinsicID = [&]() -> unsigned { in EmitBuiltinExpr() local
5452 auto Intrinsic = CGM.getIntrinsic(IntrinsicID); in EmitBuiltinExpr()
6134 Intrinsic::ID IntrinsicID = Intrinsic::not_intrinsic; in EmitBuiltinExpr() local
6138 IntrinsicID = Intrinsic::getIntrinsicForClangBuiltin(Prefix.data(), Name); in EmitBuiltinExpr()
6139 if (IntrinsicID == Intrinsic::not_intrinsic && Prefix == "spv" && in EmitBuiltinExpr()
6141 IntrinsicID = Intrinsic::getIntrinsicForClangBuiltin("amdgcn", Name); in EmitBuiltinExpr()
6145 if (IntrinsicID == Intrinsic::not_intrinsic) in EmitBuiltinExpr()
6146 IntrinsicID = Intrinsic::getIntrinsicForMSBuiltin(Prefix.data(), Name); in EmitBuiltinExpr()
6149 if (IntrinsicID != Intrinsic::not_intrinsic) { in EmitBuiltinExpr()
6159 Function *F = CGM.getIntrinsic(IntrinsicID); in EmitBuiltinExpr()
7558 Function *CodeGenFunction::LookupNeonLLVMIntrinsic(unsigned IntrinsicID, in LookupNeonLLVMIntrinsic() argument
7594 return CGM.getIntrinsic(IntrinsicID, Tys); in LookupNeonLLVMIntrinsic()
10123 unsigned IntrinsicID, in EmitSVEMaskedLoad() argument
10135 switch (IntrinsicID) { in EmitSVEMaskedLoad()
10156 Function *F = CGM.getIntrinsic(IntrinsicID, IsQuadLoad ? VectorTy : MemoryTy); in EmitSVEMaskedLoad()
10171 unsigned IntrinsicID) { in EmitSVEMaskedStore() argument
10185 switch (IntrinsicID) { in EmitSVEMaskedStore()
10208 CGM.getIntrinsic(IntrinsicID, IsQuadStore ? VectorTy : MemoryTy); in EmitSVEMaskedStore()
19318 unsigned IntrinsicID, in EmitSystemZIntrinsicWithCC() argument
19325 Function *F = CGF.CGM.getIntrinsic(IntrinsicID); in EmitSystemZIntrinsicWithCC()
20043 static Value *MakeLdgLdu(unsigned IntrinsicID, CodeGenFunction &CGF, in MakeLdgLdu() argument
20050 CGF.CGM.getIntrinsic(IntrinsicID, {ElemTy, Ptr->getType()}), in MakeLdgLdu()
20054 static Value *MakeScopedAtomic(unsigned IntrinsicID, CodeGenFunction &CGF, in MakeScopedAtomic() argument
20060 CGF.CGM.getIntrinsic(IntrinsicID, {ElemTy, Ptr->getType()}), in MakeScopedAtomic()
20064 static Value *MakeCpAsync(unsigned IntrinsicID, unsigned IntrinsicIDS, in MakeCpAsync() argument
20072 : CGF.Builder.CreateCall(CGF.CGM.getIntrinsic(IntrinsicID), in MakeCpAsync()
20077 static Value *MakeHalfType(unsigned IntrinsicID, unsigned BuiltinID, in MakeHalfType() argument
20087 if (IntrinsicID == Intrinsic::nvvm_ldg_global_f || in MakeHalfType()
20088 IntrinsicID == Intrinsic::nvvm_ldu_global_f) in MakeHalfType()
20089 return MakeLdgLdu(IntrinsicID, CGF, E); in MakeHalfType()
20092 auto *F = CGF.CGM.getIntrinsic(IntrinsicID); in MakeHalfType()
21609 Intrinsic::ID IntrinsicID; in getIntrinsicForHexagonNonClangBuiltin() member
21658 return {F->IntrinsicID, F->VecLen}; in getIntrinsicForHexagonNonClangBuiltin()