mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 04:39:34 +02:00

pasbool8type for this results in too much trouble (we mustn't use i1 for parameters, because then LLVM will try to apply the ABI convention for passing "1 bit" values, or in records because then this may result in unwanted bitpacking). Downside: the new LLVMBool1 type is also exposed in the system unit, because we need it to define LLVM intrinsics... git-svn-id: trunk@33726 -
20 lines
781 B
PHP
20 lines
781 B
PHP
{
|
|
This file is part of the Free Pascal run time library.
|
|
Copyright (c) 2015 Jonas Maebe
|
|
|
|
This file contains declarations for LLVM intrinsics
|
|
|
|
See the file COPYING.FPC, included in this distribution,
|
|
for details about the copyright.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
**********************************************************************}
|
|
|
|
|
|
procedure llvm_memcpy64(dest, source: pointer; len: qword; align: cardinal; isvolatile: LLVMBool1); compilerproc; external name 'llvm.memcpy.p0i8.p0i8.i64';
|
|
|
|
function llvm_frameaddress(level: longint): pointer; compilerproc; external name 'llvm.frameaddress';
|