summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/IntrinsicInst.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename VMCore directory to IR.Chandler Carruth2013-01-021-73/+0
| | | | | | | | | | | | | | | | | | Aside from moving the actual files, this patch only updates the build system and the source file comments under lib/... that are relevant. I'll be updating other docs and other files in smaller subsequnet commits. While I've tried to test this, but it is entirely possible that there will still be some build system fallout. Also, note that I've not changed the library name itself: libLLVMCore.a is still the library name. I'd be interested in others' opinions about whether we should rename this as well (I think we should, just not sure what it might break) llvm-svn: 171359
* warmup ritual: use high-level argument accessorsGabor Greif2010-06-221-3/+3
| | | | llvm-svn: 106563
* Revert 101465, it broke internal OpenGL testing.Eric Christopher2010-04-161-3/+3
| | | | | | | Probably the best way to know that all getOperand() calls have been handled is to replace that API instead of updating. llvm-svn: 101579
* reapply r101434Gabor Greif2010-04-161-3/+3
| | | | | | | | | | | | | with a fix for self-hosting rotate CallInst operands, i.e. move callee to the back of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101465
* back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif2010-04-161-3/+3
| | | | llvm-svn: 101434
* reapply r101364, which has been backed out in r101368Gabor Greif2010-04-151-3/+3
| | | | | | | | | | | | | with a fix rotate CallInst operands, i.e. move callee to the back of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101397
* back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif2010-04-151-3/+3
| | | | llvm-svn: 101368
* rotate CallInst operands, i.e. move callee to the backGabor Greif2010-04-151-3/+3
| | | | | | | | | | of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101364
* fix some pointless layering violations.Chris Lattner2010-03-141-2/+1
| | | | llvm-svn: 98460
* Improve llvm.dbg.declare intrinsic by referring directly to the storage in ↵Victor Hernandez2010-01-151-0/+11
| | | | | | | | | its first argument, via function-local metadata (instead of via a bitcast). This patch also cleans up code that expects there to be a bitcast in the first argument and testcases that call llvm.dbg.declare. It also strips old llvm.dbg.declare intrinsics that did not pass metadata as the first argument. llvm-svn: 93531
* Respond to Chris' review:Victor Hernandez2010-01-111-1/+5
| | | | | | | Make InsertDbgValueIntrinsic() and get Offset take and recieve a uint64_t. Get constness correct for getVariable() and getValue(). llvm-svn: 93149
* Remove dead debug info intrinsics.Devang Patel2010-01-051-21/+1
| | | | | | | | | | Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start AutoUpgrade simply ignores these intrinsics now. llvm-svn: 92557
* Remove #include of metadata.h from intrinsicinst.h. The onlyChris Lattner2009-12-311-0/+8
| | | | | | | method that needs it (DbgValueInst::getValue) has been moved out of line. llvm-svn: 92323
* rename "elements" of metadata to "operands". "Elements" areChris Lattner2009-12-311-2/+2
| | | | | | | things that occur in types. "operands" are things that occur in values. llvm-svn: 92322
* Fix DbgStopPointInst->getFileName/getDirectory, broken by the MDNodification inTorok Edwin2009-09-021-8/+2
| | | | | | r80406, and readd a -print-dbginfo test. llvm-svn: 80778
* The fields for the stoppoint debug intrinsic have not changed, so update theJohn Criswell2008-12-191-2/+2
| | | | | | version number assertions. llvm-svn: 61257
* Unbreak DbgStopPointInst::getFileName().Daniel Dunbar2008-10-111-1/+1
| | | | llvm-svn: 57373
* Revert my previous check-in that split up MachineModuleInfo. It turns out toBill Wendling2008-07-031-1/+0
| | | | | | slow the compiler down at -O0 some 30% or more. Ooops. llvm-svn: 53120
* - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an ↵Evan Cheng2008-06-301-6/+7
| | | | | | | | empty string for ConstantAggregateZero case which surprises selectiondag. - Correctly handle memcpy from constant string which is zero-initialized. llvm-svn: 52891
* Revert (52748 and friends):Anton Korobeynikov2008-06-291-7/+6
| | | | | | | | | | | | Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings. This unbreaks llvm-gcc bootstrap. llvm-svn: 52884
* Refactor the DebugInfoDesc stuff out of the MachineModuleInfo file. Clean upBill Wendling2008-06-271-0/+1
| | | | | | some uses of std::vector, where it's return std::vector by value. Yuck! llvm-svn: 52800
* Move GetConstantStringInfo to lib/Analysis. RemoveEric Christopher2008-06-261-6/+7
| | | | | | | | | string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings. llvm-svn: 52748
* Remove uses of llvm/System/IncludeFile.h that are no longer needed.Dan Gohman2008-05-061-4/+0
| | | | llvm-svn: 50695
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Change the MachineDebugInfo to MachineModuleInfo to better reflect usageJim Laskey2007-01-261-1/+1
| | | | | | for debugging and exception handling. llvm-svn: 33550
* Update version in safe guards.Jim Laskey2006-12-131-2/+2
| | | | llvm-svn: 32546
* For PR950:Reid Spencer2006-11-271-1/+1
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* getFilename/getDirectory shouldn't abort if the global has no init. ThisChris Lattner2006-10-041-2/+2
| | | | | | can happen on bugpoint reduced testcases f.e.. llvm-svn: 30729
* 1. Support for c++ mangled names.Jim Laskey2006-07-111-2/+2
| | | | | | 2. Support for private/protected class members. llvm-svn: 29104
* Handle versioning of compile unit.Jim Laskey2006-06-191-0/+5
| | | | llvm-svn: 28855
* Forgot operands were hard coded for compile unit.Jim Laskey2006-06-161-2/+2
| | | | llvm-svn: 28846
* For PR780:Reid Spencer2006-06-071-4/+2
| | | | | | | | | | 1. Fix the macros in IncludeFile.h to put everything in the llvm namespace 2. Replace the previous explicit mechanism in all the .h and .cpp files with the macros in IncludeFile.h This gets us a consistent mechanism throughout LLVM for ensuring linkage. Next step is to make sure its used in enough places. llvm-svn: 28715
* For PR780:Reid Spencer2006-06-071-0/+4
| | | | | | | | | Break the "IncludeFile" mechanism into its own header file and adjust other files accordingly. Use this facility for the IntrinsicInst problem which was the subject of PR800. More to follow on this. llvm-svn: 28709
* Bullet proof against undefined args produced by upgrading ols-style debug info.Jim Laskey2006-03-261-3/+3
| | | | llvm-svn: 27155
* Fix indent.Jim Laskey2006-03-241-1/+1
| | | | llvm-svn: 27065
* Clean up some commentary.Jim Laskey2006-03-241-1/+19
| | | | llvm-svn: 27064
* Simplify handling of llvm.dbg intrinsic operands to one spot.Jim Laskey2006-03-231-0/+55
llvm-svn: 26987
OpenPOWER on IntegriCloud