LLVM API Documentation

Instructions.cpp File Reference

#include "llvm/BasicBlock.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Support/CallSite.h"

Include dependency graph for Instructions.cpp:

Go to the source code of this file.

Functions

static ValuegetAISize (Value *Amt)
static const TypecheckType (const Type *Ty)
static bool isConstantAllOnes (const Value *V)


Function Documentation

static const Type* checkType ( const Type Ty  )  [inline, static]

Definition at line 648 of file Instructions.cpp.

References Ty.

static Value* getAISize ( Value Amt  )  [static]

Definition at line 487 of file Instructions.cpp.

References llvm::ConstantUInt::get(), llvm::Value::getType(), and llvm::Type::UIntTy.

static bool isConstantAllOnes ( const Value V  )  [inline, static]

Definition at line 1031 of file Instructions.cpp.

References V.

Referenced by llvm::BinaryOperator::getNotArgument(), and llvm::BinaryOperator::isNot().