X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FProgrammersManual.rst;h=2910a2aa1c1990fa05c42992008554d142a327ed;hb=0a230e0d985625a3909cb78fd867a3abaf434565;hp=87b802001c31c111f93c8750eeed4c00213ddc4a;hpb=928ef439a5ab104d706b64f9da28eda32398bbf3;p=oota-llvm.git diff --git a/docs/ProgrammersManual.rst b/docs/ProgrammersManual.rst index 87b802001c3..2910a2aa1c1 100644 --- a/docs/ProgrammersManual.rst +++ b/docs/ProgrammersManual.rst @@ -1016,7 +1016,9 @@ coupled with a good choice of :ref:`sequential container `. This combination provides the several nice properties: the result data is contiguous in memory (good for cache locality), has few allocations, is easy to address (iterators in the final vector are just indices or pointers), and can be -efficiently queried with a standard binary or radix search. +efficiently queried with a standard binary search (e.g. +``std::lower_bound``; if you want the whole range of elements comparing +equal, use ``std::equal_range``). .. _dss_smallset: @@ -2419,7 +2421,7 @@ place the ``vptr`` in the first word of the instances.) The Core LLVM Class Hierarchy Reference ======================================= -``#include "llvm/Type.h"`` +``#include "llvm/IR/Type.h"`` header source: `Type.h `_ @@ -2522,7 +2524,7 @@ Important Derived Types The ``Module`` class -------------------- -``#include "llvm/Module.h"`` +``#include "llvm/IR/Module.h"`` header source: `Module.h `_ @@ -2609,7 +2611,7 @@ Important Public Members of the ``Module`` class The ``Value`` class ------------------- -``#include "llvm/Value.h"`` +``#include "llvm/IR/Value.h"`` header source: `Value.h `_ @@ -2700,7 +2702,7 @@ Important Public Members of the ``Value`` class The ``User`` class ------------------ -``#include "llvm/User.h"`` +``#include "llvm/IR/User.h"`` header source: `User.h `_ @@ -2746,7 +2748,7 @@ interface and through an iterator based interface. The ``Instruction`` class ------------------------- -``#include "llvm/Instruction.h"`` +``#include "llvm/IR/Instruction.h"`` header source: `Instruction.h `_ @@ -2894,7 +2896,7 @@ Important Subclasses of Constant The ``GlobalValue`` class ------------------------- -``#include "llvm/GlobalValue.h"`` +``#include "llvm/IR/GlobalValue.h"`` header source: `GlobalValue.h `_ @@ -2953,7 +2955,7 @@ Important Public Members of the ``GlobalValue`` class The ``Function`` class ---------------------- -``#include "llvm/Function.h"`` +``#include "llvm/IR/Function.h"`` header source: `Function.h `_ @@ -3061,7 +3063,7 @@ Important Public Members of the ``Function`` The ``GlobalVariable`` class ---------------------------- -``#include "llvm/GlobalVariable.h"`` +``#include "llvm/IR/GlobalVariable.h"`` header source: `GlobalVariable.h `_ @@ -3119,7 +3121,7 @@ Important Public Members of the ``GlobalVariable`` class The ``BasicBlock`` class ------------------------ -``#include "llvm/BasicBlock.h"`` +``#include "llvm/IR/BasicBlock.h"`` header source: `BasicBlock.h `_