1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/include/llvm
Jakob Stoklund Olesen c19c47697f Include a source location when complaining about bad inline assembly.
Add a MI->emitError() method that the backend can use to report errors
related to inline assembly. Call it from X86FloatingPoint.cpp when the
constraints are wrong.

This enables proper clang diagnostics from the backend:

$ clang -c pr30848.c
pr30848.c:5:12: error: Inline asm output regs must be last on the x87 stack
  __asm__ ("" : "=u" (d));  /* { dg-error "output regs" } */
           ^
1 error generated.

llvm-svn: 134307
2011-07-02 03:53:34 +00:00
..
ADT Remove the confusing getDarwinNumber() api and friends. 2011-07-02 00:19:55 +00:00
Analysis Cleanup. Fix a stupid variable name. 2011-06-28 05:44:06 +00:00
Assembly now that Type::getDescription() is dead, the TypePrinting class can move from Assembly/Writer.h to being 2011-06-18 21:23:04 +00:00
Bitcode Enhance the sanity check for block sizes; check that the resulting pointer is 2011-06-25 17:08:50 +00:00
CodeGen Include a source location when complaining about bad inline assembly. 2011-07-02 03:53:34 +00:00
CompilerDriver llvmc: Make 'true' and 'false' instances of a 'Bool' class. 2011-05-05 04:25:03 +00:00
Config remove CMake mode_t define 2011-06-23 12:21:33 +00:00
ExecutionEngine ExecutionEngine: push TargetMachine creation into clients (v2) 2011-05-13 21:51:29 +00:00
MC Add getFeatureBits to extract feature bits for a given CPU. 2011-07-02 00:43:44 +00:00
Object Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
Support Added IRBuilder::SetInsertPoint(Use) to find a valid insertion point 2011-06-29 23:01:52 +00:00
Target Add MCSubtargetInfo target registry stuff. 2011-07-01 22:25:04 +00:00
Transforms The ARC language-specific optimizer. Credit to Dan Gohman. 2011-06-15 23:37:01 +00:00
AbstractTypeUser.h
Argument.h add a helper method to get the byval alignment of an argument. 2011-05-22 23:57:23 +00:00
Attributes.h Add a new function attribute, nonlazybind, which inhibits lazy-loading 2011-06-15 20:36:13 +00:00
AutoUpgrade.h
BasicBlock.h Add r134057 back, but splice the predecessor after the successors phi 2011-06-30 20:14:24 +00:00
CallGraphSCCPass.h
CallingConv.h Use X86_thiscall calling convention for Win64 as well. 2011-03-03 07:49:07 +00:00
CMakeLists.txt Put targets on folders, if the IDE supports the feature. 2011-02-20 22:06:10 +00:00
Constant.h Fix or remove code which seemed to think that the operand of a Constant 2011-04-11 09:48:55 +00:00
Constants.h PR10210: New method ConstantArray::getAsCString(). Use it in LTO to 2011-06-28 08:24:19 +00:00
DebugInfoProbe.h Introduce DebugInfoProbe. This is used to monitor how llvm optimizer is treating debugging information. 2011-03-10 00:21:25 +00:00
DefaultPasses.h Remove noisy semicolons. 2011-05-20 09:20:25 +00:00
DerivedTypes.h introduce an isLayoutIdentical() method, which is currently just a pointer 2011-06-20 03:51:04 +00:00
Function.h Fix some issues Duncan found in the previous commit. 2011-05-25 12:54:08 +00:00
GlobalAlias.h
GlobalValue.h hoist GlobalValue::removeDeadConstantUsers up to being a method on Constant. 2011-02-18 04:41:42 +00:00
GlobalVariable.h Fix a FIXME by making GlobalVariable::getInitializer() return a 2011-06-19 18:37:11 +00:00
GVMaterializer.h
InitializePasses.h Remove the experimental (and unused) pre-ra splitting pass. Greedy regalloc can split live ranges. 2011-06-27 23:40:45 +00:00
InlineAsm.h Distinguish early clobber output operands from clobbered registers. 2011-06-27 04:08:33 +00:00
InstrTypes.h Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
Instruction.def
Instruction.h
Instructions.h Reinstate r133513 (reverted in r133700) with an additional fix for a 2011-06-23 09:09:15 +00:00
IntrinsicInst.h llvm.memcpy.* has two distinct associated address spaces; the source address space, and the destination address space. Fix up the interface on MemIntrinsic and MemTransferInst to make this clear, and fix InstructionDereferencesPointer in LazyValueInfo.cpp to use the interface properly. 2011-05-31 20:40:16 +00:00
Intrinsics.h
Intrinsics.td Don't mark the eh.dispatch.setup with a memory access marker. We want this to 2011-06-21 00:35:15 +00:00
IntrinsicsAlpha.td
IntrinsicsARM.td Add support for ARM ldrexd/strexd intrinsics. They both use i32 register pairs 2011-05-28 04:07:29 +00:00
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsPTX.td PTX: Add intrinsics to list of built-in intrinsics, which allows them to be 2011-04-20 15:37:17 +00:00
IntrinsicsX86.td Renamed llvm.x86.sse42.crc32 intrinsics; crc64 doesn't exist. 2011-05-26 23:13:19 +00:00
IntrinsicsXCore.td Fix 80 column violations. 2011-05-31 16:30:33 +00:00
LinkAllPasses.h The ARC language-specific optimizer. Credit to Dan Gohman. 2011-06-15 23:37:01 +00:00
LinkAllVMCore.h
Linker.h
LLVMContext.h
Metadata.h Typos. 2011-06-01 23:32:40 +00:00
Module.h Fix typo in doxy-comment. 2011-04-06 20:54:07 +00:00
OperandTraits.h OperandTraits<>::Layout isn't used for anything. Remove it. 2011-01-14 18:41:56 +00:00
Operator.h Revert r133373. I was going to use this to teach the Verifier to verify constant 2011-06-19 03:30:32 +00:00
Pass.h Fix typos in comments. 2011-04-28 09:12:47 +00:00
PassAnalysisSupport.h Don't add the same analysis implementation pair twice. 2011-03-30 18:32:53 +00:00
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h Revert r131155 for now. It makes VMCore depend on Analysis and Transforms 2011-05-10 22:16:06 +00:00
SymbolTableListTraits.h
Type.h now that Type::getDescription() is dead, the TypePrinting class can move from Assembly/Writer.h to being 2011-06-18 21:23:04 +00:00
TypeSymbolTable.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
Use.h Reinstate r133513 (reverted in r133700) with an additional fix for a 2011-06-23 09:09:15 +00:00
User.h Fix typos in assert messages. 2011-03-21 16:38:22 +00:00
Value.h fix incorrect comment. 2011-03-08 16:59:03 +00:00
ValueSymbolTable.h