/external/llvm/include/llvm/CodeGen/ |
MachineConstantPool.h | 1 //===-- CodeGen/MachineConstantPool.h - Abstract Constant Pool --*- C++ -*-===// 12 /// constant pool to keep track of constants referenced by a function. 26 class Constant; 52 /// so. The return values are the same as Constant::getRelocationInfo(). 73 /// the constant pool. 77 /// The constant itself. 79 const Constant *ConstVal; 87 MachineConstantPoolEntry(const Constant *V, unsigned A) 99 /// Constant. 115 /// 0: This constant pool entry is guaranteed to never have a relocatio [all...] |
/external/llvm/unittests/VMCore/ |
VerifierTest.cpp | 36 Constant *False = ConstantInt::getFalse(C); 41 Constant *Zero32 = ConstantInt::get(IntegerType::get(C, 32), 0); 51 Constant *Init = Constant::getNullValue(Ty);
|
ConstantsTest.cpp | 20 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); 26 // Input: @b = constant i1 add(i1 1 , i1 1) 27 // Output: @b = constant i1 false 30 // @c = constant i1 add(i1 -1, i1 1) 31 // @c = constant i1 false 34 // @d = constant i1 add(i1 -1, i1 -1) 35 // @d = constant i1 fals [all...] |
/external/proguard/src/proguard/classfile/constant/ |
Constant.java | 21 package proguard.classfile.constant; 24 import proguard.classfile.constant.visitor.ConstantVisitor; 32 public abstract class Constant implements VisitorAccepter 46 * Returns the constant pool info tag that specifies the entry type.
|
DoubleConstant.java | 21 package proguard.classfile.constant; 24 import proguard.classfile.constant.visitor.ConstantVisitor; 27 * This Constant represents a double constant in the constant pool. 31 public class DoubleConstant extends Constant 71 // Implementations for Constant.
|
FloatConstant.java | 21 package proguard.classfile.constant; 24 import proguard.classfile.constant.visitor.ConstantVisitor; 27 * This Constant represents a float constant in the constant pool. 31 public class FloatConstant extends Constant 71 // Implementations for Constant.
|
IntegerConstant.java | 21 package proguard.classfile.constant; 24 import proguard.classfile.constant.visitor.ConstantVisitor; 27 * This Constant represents a integer constant in the constant pool. 31 public class IntegerConstant extends Constant 71 // Implementations for Constant.
|
LongConstant.java | 21 package proguard.classfile.constant; 24 import proguard.classfile.constant.visitor.ConstantVisitor; 27 * This Constant represents a long constant in the constant pool. 31 public class LongConstant extends Constant 71 // Implementations for Constant.
|
/external/proguard/src/proguard/optimize/peephole/ |
InstructionSequencesReplacer.java | 23 import proguard.classfile.constant.Constant; 56 public InstructionSequencesReplacer(Constant[] patternConstants, 85 public InstructionSequencesReplacer(Constant[] patternConstants, 115 private static InstructionVisitor[] createInstructionSequenceReplacers(Constant[] patternConstants,
|
/external/clang/lib/CodeGen/ |
CGCXXABI.h | 23 class Constant; 113 /// pointer conversion on a constant value. 114 virtual llvm::Constant *EmitMemberPointerConversion(const CastExpr *E, 115 llvm::Constant *Src); 122 virtual llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT); 125 virtual llvm::Constant *EmitMemberPointer(const CXXMethodDecl *MD); 128 virtual llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT, 131 /// Create a member pointer for the given member pointer constant. 132 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 154 llvm::Constant *getMemberPointerAdjustment(const CastExpr *E) [all...] |
CGObjCRuntime.h | 26 class Constant; 101 llvm::Constant *beginCatchFn, 102 llvm::Constant *endCatchFn, 103 llvm::Constant *exceptionRethrowFn); 130 /// Get the type constant to catch for the given ObjC pointer type. 134 virtual llvm::Constant *GetEHType(QualType T) = 0; 136 /// Generate a constant string object. 137 virtual llvm::Constant *GenerateConstantString(const StringLiteral *) = 0; 200 virtual llvm::Constant *GetPropertyGetFunction() = 0; 203 virtual llvm::Constant *GetPropertySetFunction() = 0 [all...] |
CGObjCGNU.cpp | 53 llvm::Constant *Function; 78 /// LLVM constant. 79 operator llvm::Constant*() { 87 cast<llvm::Constant>(CGM->CreateRuntimeFunction(FTy, FunctionName)); 95 return cast<llvm::Function>((llvm::Constant*)*this); 170 /// Helper function that generates a constant string and returns a pointer to 173 llvm::Constant *MakeConstantString(const std::string &Str, 175 llvm::Constant *ConstStr = CGM.GetAddrOfConstantCString(Str, Name.c_str()); 182 llvm::Constant *ExportUniqueString(const std::string &Str, 185 llvm::Constant *ConstStr = TheModule.getGlobalVariable(name) [all...] |
CGExprConstant.cpp | 1 //===--- CGExprConstant.cpp - Emit LLVM Code from Constant Expressions ----===// 10 // This contains code to emit Constant Expr nodes as LLVM code. 43 SmallVector<llvm::Constant *, 32> Elements; 45 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF, 47 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF, 56 void AppendVTablePointer(BaseSubobject Base, llvm::Constant *VTable, 60 llvm::Constant *InitExpr); 62 void AppendBytes(CharUnits FieldOffsetInChars, llvm::Constant *InitCst); 75 llvm::Constant *VTable, const CXXRecordDecl *VTableClass, 77 llvm::Constant *Finalize(QualType Ty) [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ConstantPoolEditor.java | 24 import proguard.classfile.constant.*; 27 * This class can add constant pool entries to a given class. 49 * Finds or creates a IntegerConstant constant pool entry with the given 51 * @return the constant pool index of the Utf8Constant. 56 Constant[] constantPool = targetClass.constantPool; 61 Constant constant = constantPool[index]; local 63 if (constant != null && 64 constant.getTag() == ClassConstants.CONSTANT_Integer) 66 IntegerConstant integerConstant = (IntegerConstant)constant; 90 Constant constant = constantPool[index]; local 120 Constant constant = constantPool[index]; local 150 Constant constant = constantPool[index]; local 182 Constant constant = constantPool[index]; local 287 Constant constant = constantPool[index]; local 394 Constant constant = constantPool[index]; local 501 Constant constant = constantPool[index]; local 546 Constant constant = constantPool[index]; local 579 Constant constant = constantPool[index]; local 610 Constant constant = constantPool[index]; local [all...] |
/external/llvm/lib/VMCore/ |
ConstantFold.cpp | 1 //===- ConstantFold.cpp - LLVM constant folder ----------------------------===// 14 // The current constant folding implementation is implemented in two pieces: the 41 /// BitCastConstantVector - Convert the specified vector Constant node to the 43 /// input vector constant are all simple integer or FP values. 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 [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 41 // Constant Folding internal helper functions 44 /// FoldBitCast - Constant fold bitcast, symbolically evaluating it with 45 /// TargetData. This always returns a non-null constant, but it may be a 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! 103 // If this is a bitcast from constant vector -> vector, fold it. 158 SmallVector<Constant*, 32> Result [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
ArrayData.java | 39 private final ArrayList<Constant> values; 41 /** non-null: type of constant that initializes the array */ 42 private final Constant arrayType; 60 ArrayList<Constant> values, 61 Constant arrayType) { 93 throw new IllegalArgumentException("Unexpected constant type"); 122 Constant cst = values.get(i); 129 Constant cst = values.get(i); 136 Constant cst = values.get(i); 143 Constant cst = values.get(i) [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstAnnotation.java | 22 * Constant type that represents an annotation. 24 public final class CstAnnotation extends Constant { 61 protected int compareTo0(Constant other) {
|
/dalvik/dx/src/com/android/dx/dex/code/ |
ArrayData.java | 39 private final ArrayList<Constant> values; 41 /** non-null: type of constant that initializes the array */ 42 private final Constant arrayType; 60 ArrayList<Constant> values, 61 Constant arrayType) { 93 throw new IllegalArgumentException("Unexpected constant type"); 122 Constant cst = values.get(i); 129 Constant cst = values.get(i); 136 Constant cst = values.get(i); 143 Constant cst = values.get(i) [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstAnnotation.java | 22 * Constant type that represents an annotation. 24 public final class CstAnnotation extends Constant { 61 protected int compareTo0(Constant other) {
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/ |
p3-nodeduct.cpp | 9 template<typename T, T* Address> struct Constant { }; 10 Constant<void(int), &f<int> > constant0;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
ArrayData.java | 39 private final ArrayList<Constant> values; 41 /** non-null: type of constant that initializes the array */ 42 private final Constant arrayType; 60 ArrayList<Constant> values, 61 Constant arrayType) { 93 throw new IllegalArgumentException("Unexpected constant type"); 122 Constant cst = values.get(i); 129 Constant cst = values.get(i); 136 Constant cst = values.get(i); 143 Constant cst = values.get(i) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
CstAnnotation.java | 22 * Constant type that represents an annotation. 24 public final class CstAnnotation extends Constant { 61 protected int compareTo0(Constant other) {
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
PlainInsn.java | 19 import com.android.dexgen.rop.cst.Constant; 112 Constant cst = (Constant) lastType; 119 getResult(), newSources, (Constant)lastType);
|
/external/proguard/src/proguard/classfile/visitor/ |
ClassForNameClassVisitor.java | 24 import proguard.classfile.constant.*; 25 import proguard.classfile.constant.visitor.ConstantVisitor; 31 * constant classes involved in any <code>Class.forName</code> constructs that 58 public void visitAnyConstant(Clazz clazz, Constant constant) {}
|