llvm-project/polly/lib/CodeGen
Tobias Grosser 477a1dce2b Use argument type directly from fflush if available in translation unit
When our RuntimeDebugBuilder calles fflush(NULL) to flush all output streams, it
is important that the types we use in the call match the ones used in a
declaration of fflush possible already available in the translation unit.

As we just pass on a NULL pointer, the type of the pointer value does not really
matter. However, as LLVM complains in case of mismatched types, we make sure
to create a NULL pointer of identical type.

No test case, as RuntimeDebugBuilder is not permanently used in Polly. Calls to
it are until now only used to add informative output during debugging sessions.

llvm-svn: 221251
2014-11-04 09:18:24 +00:00
..
BlockGenerators.cpp Remove incorrect value description for -enable-polly-aligned 2014-10-22 23:22:41 +00:00
Cloog.cpp Remove unnecessary struct in return type 2014-05-07 11:23:35 +00:00
CodeGeneration.cpp Use braces in multi-statement DEBUG() code [NFC] 2014-10-22 23:00:03 +00:00
IRBuilder.cpp [Refactor] Rename LoopAnnotator to ScopAnnotator 2014-10-02 15:32:17 +00:00
IslAst.cpp Use stringFromIslObj instead of isl_..._dump to print to dbgs() 2014-10-22 23:16:28 +00:00
IslCodeGeneration.cpp Delete some unnecessary code 2014-10-29 22:09:54 +00:00
IslExprBuilder.cpp [Fix] Non i1 typed select condition for weird pw aff functions. 2014-10-07 14:37:59 +00:00
LoopGenerators.cpp [Fix] Accidently changed the type of a libgomp argument in r219003. 2014-10-03 20:40:24 +00:00
PTXGenerator.cpp Remove use of llvm.codegen intrinsic for GPGPU codegen 2014-06-24 08:11:36 +00:00
RuntimeDebugBuilder.cpp Use argument type directly from fflush if available in translation unit 2014-11-04 09:18:24 +00:00
Utils.cpp [Refactor] Cleanup isl code generation 2014-09-10 14:50:23 +00:00