search for: built_in_apply

Displaying 5 results from an estimated 5 matches for "built_in_apply".

2008 Feb 15
0
[LLVMdev] llvm.atomic.barrier implementation
...]; + C[0] = C[1] = C[2] = C[3] = ConstantInt::get(Type::Int1Ty, 1); + + Builder.CreateCall(Intrinsic::getDeclaration(TheModule, Intrinsic::atomic_membarrier), + C, C + 4); + return true; + } + #if 1 // FIXME: Should handle these GCC extensions eventually. case BUILT_IN_APPLY_ARGS: case BUILT_IN_APPLY:
2008 Feb 15
6
[LLVMdev] llvm.atomic.barrier implementation
Attached is the target independent llvm.atomic.barrier support, as well as alpha and x86 (sse2) support. This matches Chandler's definitions, and the LangRef patch will just restore that. Non-sse2 barrier will be needed, I think it is "lock; mov %esp, %esp", but I'm not sure. Any objections? I'll take a hack at the front end support for __sync_synchronize after this
2011 Jun 18
0
[LLVMdev] Make dragonegg work with gcc-4.6
...IRECT_REF: LV = EmitLV_INDIRECT_REF(exp); break; +#if (GCC_MINOR < 6) case MISALIGNED_INDIRECT_REF: LV = EmitLV_MISALIGNED_INDIRECT_REF(exp); break; +#endif } // Check that the type of the lvalue is indeed that of a pointer to the tree @@ -4692,7 +4694,9 @@ case BUILT_IN_APPLY: case BUILT_IN_RETURN: case BUILT_IN_SAVEREGS: +#if (GCC_MINOR < 6) case BUILT_IN_ARGS_INFO: +#endif case BUILT_IN_NEXT_ARG: case BUILT_IN_CLASSIFY_TYPE: case BUILT_IN_AGGREGATE_INCOMING_ADDRESS: @@ -8497,7 +8501,9 @@ case COMPONENT_REF: case IMAGPART_EXPR: case INDIRE...
2008 Feb 15
2
[LLVMdev] llvm.atomic.barrier implementation
...tInt::get(Type::Int1Ty, 1); > + > + Builder.CreateCall(Intrinsic::getDeclaration(TheModule, > Intrinsic::atomic_membarrier), > + C, C + 4); > + return true; > + } > + > #if 1 // FIXME: Should handle these GCC extensions eventually. > case BUILT_IN_APPLY_ARGS: > case BUILT_IN_APPLY: > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
2008 Feb 15
3
[LLVMdev] llvm.atomic.barrier implementation
...tInt::get(Type::Int1Ty, 1); > + > + Builder.CreateCall(Intrinsic::getDeclaration(TheModule, > Intrinsic::atomic_membarrier), > + C, C + 4); > + return true; > + } > + > #if 1 // FIXME: Should handle these GCC extensions eventually. > case BUILT_IN_APPLY_ARGS: > case BUILT_IN_APPLY: > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev