Searched refs:Constant (Results 1 - 25 of 429) sorted by relevance

1234567891011>>

/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DConstantFold.h1 //===-- ConstantFolding.h - Internal Constant Folding Interface -*- C++ -*-===//
26 class Constant;
29 // Constant fold various types of instruction...
30 Constant *ConstantFoldCastInstruction(
32 Constant *V, ///< The source constant
35 Constant *ConstantFoldSelectInstruction(Constant *Cond,
36 Constant *V1, Constant *V2);
37 Constant *ConstantFoldExtractElementInstructio
[all...]
H A DConstants.cpp1 //===-- Constants.cpp - Implement Constant nodes --------------------------===//
10 // This file implements the Constant* classes.
40 // Constant Class
43 void Constant::anchor() { }
45 bool Constant::isNegativeZeroValue() const {
54 bool Constant::isNullValue() const {
67 bool Constant::isAllOnesValue() const {
78 if (Constant *Splat = CV->getSplatValue())
83 if (Constant *Splat = CV->getSplatValue())
90 Constant *Constan
[all...]
H A DConstantFold.cpp41 /// BitCastConstantVector - Convert the specified vector Constant node to the
44 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) {
46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy);
47 if (CV->isNullValue()) return Constant::getNullValue(DstTy);
58 SmallVector<Constant*, 16> Result;
61 Constant *C =
95 static Constant *FoldBitCast(Constant *V, Type *DestTy) {
108 Constant
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DTargetFolder.h1 //====-- llvm/Support/TargetFolder.h - Constant folding helper -*- C++ -*-====//
36 Constant *Fold(Constant *C) const {
38 if (Constant *CF = ConstantFoldConstantExpression(CE, TD))
50 Constant *CreateAdd(Constant *LHS, Constant *RHS,
54 Constant *CreateFAdd(Constant *LHS, Constant *RH
[all...]
H A DConstantFolder.h1 //===-- llvm/Support/ConstantFolder.h - Constant folding helper -*- C++ -*-===//
34 Constant *CreateAdd(Constant *LHS, Constant *RHS,
38 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const {
41 Constant *CreateSub(Constant *LHS, Constant *RH
[all...]
H A DNoFolder.h1 //======-- llvm/Support/NoFolder.h - Constant folding helper -*- C++ -*-======//
40 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const {
50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const {
53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const {
56 Instruction *CreateSub(Constant *LH
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Analysis/
H A DConstantFolding.h24 class Constant;
39 Constant *ConstantFoldInstruction(Instruction *I, const TargetData *TD = 0,
45 Constant *ConstantFoldConstantExpression(const ConstantExpr *CE,
55 Constant *ConstantFoldInstOperands(unsigned Opcode, Type *DestTy,
56 ArrayRef<Constant *> Ops,
64 Constant *ConstantFoldCompareInstOperands(unsigned Predicate,
65 Constant *LHS, Constant *RHS,
72 Constant *ConstantFoldInsertValueInstruction(Constant *Ag
[all...]
H A DConstantsScanner.h23 class Constant;
26 const Constant, ptrdiff_t> {
35 return isa<Constant>(InstI->getOperand(OpIdx));
56 return cast<Constant>(InstI->getOperand(OpIdx));
H A DLazyValueInfo.h21 class Constant;
52 Tristate getPredicateOnEdge(unsigned Pred, Value *V, Constant *C,
58 Constant *getConstant(Value *V, BasicBlock *BB);
62 Constant *getConstantOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DConstants.h1 //===-- llvm/Constants.h - Constant class subclass definitions --*- C++ -*-===//
11 /// This file contains the declarations for the subclasses of Constant,
15 /// equivalent constants will always have the same address. Constant's are
24 #include "llvm/Constant.h"
50 class ConstantInt : public Constant {
64 static Constant *getTrue(Type *Ty);
65 static Constant *getFalse(Type *Ty);
67 /// If Ty is a vector type, return a Constant with a splat of the given
69 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
86 static Constant *getSigne
[all...]
H A DConstant.h1 //===-- llvm/Constant.h - Constant class definition -------------*- C++ -*-===//
10 // This file contains the declaration of the Constant class.
40 /// @brief LLVM Constant Representation
41 class Constant : public User { class in namespace:llvm
42 void operator=(const Constant &) LLVM_DELETED_FUNCTION;
43 Constant(const Constant &) LLVM_DELETED_FUNCTION;
47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) function in class:llvm::Constant
98 Constant *getAggregateElemen
[all...]
H A DGlobalAlias.h44 Constant* Aliasee = 0, Module *Parent = 0);
47 DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);
60 void setAliasee(Constant *GV);
61 const Constant *getAliasee() const {
64 Constant *getAliasee() {
90 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalAlias, Constant)
H A DGlobalVariable.h31 class Constant;
64 Constant *Initializer = 0, const Twine &Name = "",
69 LinkageTypes Linkage, Constant *Initializer,
128 inline const Constant *getInitializer() const {
130 return static_cast<Constant*>(Op<0>().get());
132 inline Constant *getInitializer() {
134 return static_cast<Constant*>(Op<0>().get());
139 void setInitializer(Constant *InitVal);
172 /// Override Constant's implementation of this method so we can
H A DIRBuilder.h409 Constant *Insert(Constant *C, const Twine& = "") const {
543 if (Constant *LC = dyn_cast<Constant>(LHS))
544 if (Constant *RC = dyn_cast<Constant>(RHS))
557 if (Constant *LC = dyn_cast<Constant>(LHS))
558 if (Constant *RC = dyn_cast<Constant>(RH
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DModuleUtils.cpp29 Constant *RuntimeCtorInit = ConstantStruct::get(
34 SmallVector<Constant *, 16> CurrentCtors;
36 if (Constant *Init = GVCtor->getInitializer()) {
40 CurrentCtors.push_back(cast<Constant>(Init->getOperand(i)));
50 Constant *NewInit = ConstantArray::get(AT, CurrentCtors);
/macosx-10.10.1/CPANInternal-159.1/IO-KQueue-0.34/
H A DMakefile.PL29 eval { require ExtUtils::Constant; 1 };
31 ExtUtils::Constant::WriteConstants(
/macosx-10.10.1/llvmCore-3425.0.34/unittests/VMCore/
H A DVerifierTest.cpp36 Constant *False = ConstantInt::getFalse(C);
41 Constant *Zero32 = ConstantInt::get(IntegerType::get(C, 32), 0);
51 Constant *Init = Constant::getNullValue(Ty);
H A DConstantsTest.cpp20 Constant* One = ConstantInt::get(Int1, 1, true);
21 Constant* Zero = ConstantInt::get(Int1, 0);
22 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true);
24 Constant* Undef = UndefValue::get(Int1);
116 Constant *Zero128 = Constant::getNullValue(Int128Ty);
117 Constant *X = ConstantExpr::getUIToFP(Zero128, FP128Ty);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DConstantFolding.cpp41 // Constant Folding internal helper functions
44 /// FoldBitCast - Constant fold bitcast, symbolically evaluating it with
47 static Constant *FoldBitCast(Constant *C, Type *DestTy,
51 return Constant::getNullValue(DestTy);
53 return Constant::getAllOnesValue(DestTy);
99 Constant *Ops = C; // don't take the address of C!
158 SmallVector<Constant*, 32> Result;
161 Constant *Zero = Constant
[all...]
H A DInlineCost.cpp71 DenseMap<Value *, Constant *> SimplifiedValues;
232 if (!isa<Constant>(*I) && !SimplifiedValues.lookup(*I))
253 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand()))
348 // Constant GEPs are modeled as free.
360 if (Constant *COp = dyn_cast<Constant>(I.getOperand(0)))
361 if (Constant *C = ConstantExpr::getBitCast(COp, I.getType())) {
385 if (Constant *COp = dyn_cast<Constant>(I.getOperand(0)))
386 if (Constant *
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DMachineConstantPool.h1 //===-- CodeGen/MachineConstantPool.h - Abstract Constant Pool --*- C++ -*-===//
26 class Constant;
52 /// so. The return values are the same as Constant::getRelocationInfo().
79 const Constant *ConstVal;
87 MachineConstantPoolEntry(const Constant *V, unsigned A)
99 /// Constant.
153 unsigned getConstantPoolIndex(const Constant *C, unsigned Alignment);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Transforms/Utils/
H A DValueMapper.h71 inline Constant *MapValue(const Constant *V, ValueToValueMapTy &VM,
74 return cast<Constant>(MapValue((const Value*)V, VM, Flags, TypeMapper));
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Instrumentation/
H A DProfilingUtils.cpp33 Constant *InitFn = M.getOrInsertFunction(FnName, Type::getInt32Ty(Context),
42 Args[0] = Constant::getNullValue(Type::getInt32Ty(Context));
43 Args[1] = Constant::getNullValue(ArgVTy);
50 std::vector<Constant*> GEPIndices(2,
51 Constant::getNullValue(Type::getInt32Ty(Context)));
118 std::vector<Constant*> Indices(2);
119 Indices[0] = Constant::getNullValue(Type::getInt32Ty(Context));
121 Constant *ElementPtr =
143 Constant *Elem[2] = {
150 std::vector<Constant *> dtor
[all...]
/macosx-10.10.1/vim-55/runtime/colors/
H A Delflord.vim15 hi Constant term=underline ctermfg=Magenta guifg=Magenta
30 hi link String Constant
31 hi link Character Constant
32 hi link Number Constant
33 hi link Boolean Constant
/macosx-10.10.1/JavaScriptCore-7600.1.17/ftl/
H A DFTLStackMaps.h50 struct Constant { struct in struct:JSC::FTL::StackMaps
71 Constant, member in struct:JSC::FTL::StackMaps::Location
118 Vector<Constant> constants;

Completed in 290 milliseconds

1234567891011>>