LLVM API Documentation
#include "llvm/Analysis/ValueTracking.h"#include "llvm/Constants.h"#include "llvm/Instructions.h"#include "llvm/GlobalVariable.h"#include "llvm/IntrinsicInst.h"#include "llvm/LLVMContext.h"#include "llvm/Operator.h"#include "llvm/Target/TargetData.h"#include "llvm/Support/GetElementPtrTypeIterator.h"#include "llvm/Support/MathExtras.h"#include <cstring>
Go to the source code of this file.
Functions | |
| void | llvm::ComputeMaskedBits (Value *V, const APInt &Mask, APInt &KnownZero, APInt &KnownOne, TargetData *TD=0, unsigned Depth=0) |
| bool | llvm::MaskedValueIsZero (Value *V, const APInt &Mask, TargetData *TD=0, unsigned Depth=0) |
| unsigned | llvm::ComputeNumSignBits (Value *Op, TargetData *TD=0, unsigned Depth=0) |
| bool | llvm::CannotBeNegativeZero (const Value *V, unsigned Depth=0) |
| static Value * | BuildSubAggregate (Value *From, Value *To, const Type *IndexedType, SmallVector< unsigned, 10 > &Idxs, unsigned IdxSkip, LLVMContext &Context, Instruction *InsertBefore) |
| static Value * | BuildSubAggregate (Value *From, const unsigned *idx_begin, const unsigned *idx_end, LLVMContext &Context, Instruction *InsertBefore) |
| Value * | llvm::FindInsertedValue (Value *V, const unsigned *idx_begin, const unsigned *idx_end, LLVMContext &Context, Instruction *InsertBefore=0) |
| bool | llvm::GetConstantStringInfo (Value *V, std::string &Str, uint64_t Offset=0, bool StopAtNul=true) |
| static Value* BuildSubAggregate | ( | Value * | From, | |
| const unsigned * | idx_begin, | |||
| const unsigned * | idx_end, | |||
| LLVMContext & | Context, | |||
| Instruction * | InsertBefore | |||
| ) | [static] |
Definition at line 890 of file ValueTracking.cpp.
References BuildSubAggregate(), llvm::UndefValue::get(), llvm::Value::getType(), llvm::SmallVectorImpl< T >::size(), and To.
| static Value* BuildSubAggregate | ( | Value * | From, | |
| Value * | To, | |||
| const Type * | IndexedType, | |||
| SmallVector< unsigned, 10 > & | Idxs, | |||
| unsigned | IdxSkip, | |||
| LLVMContext & | Context, | |||
| Instruction * | InsertBefore | |||
| ) | [static] |
Definition at line 830 of file ValueTracking.cpp.
References llvm::SmallVectorImpl< T >::begin(), llvm::InsertValueInst::Create(), llvm::dyn_cast(), llvm::SmallVectorImpl< T >::end(), llvm::Instruction::eraseFromParent(), llvm::FindInsertedValue(), llvm::InsertValueInst::getAggregateOperand(), llvm::StructType::getElementType(), llvm::StructType::getNumElements(), llvm::SmallVectorImpl< T >::pop_back(), llvm::SmallVectorImpl< T >::push_back(), and V.
Referenced by BuildSubAggregate(), and llvm::FindInsertedValue().