HomeSort by relevance Sort by last modified time
    Searched refs:Constant (Results 126 - 150 of 581) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/llvm/tools/bugpoint/
ExtractFunction.cpp 55 Constant *I = GV->getInitializer();
59 std::vector<Constant*> Todo;
60 std::set<Constant*> Done;
64 Constant* V = Todo.back();
75 Constant *C = dyn_cast<Constant>(*i);
110 TheInst->replaceAllUsesWith(Constant::getNullValue(TheInst->getType()));
204 /// as a constant array.
205 static Constant *GetTorInit(std::vector<std::pair<Function*, int> > &TorList) {
207 std::vector<Constant*> ArrayElts
    [all...]
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 11 // taken. If obviously true, it marks read/write globals as constant, deletes
44 STATISTIC(NumMarked , "Number of globals marked constant");
117 /// constant.
121 /// stored is the constant it was initialized with. This is only tracked
136 /// StoredOnceValue - If only one value (besides the initializer constant) is
148 /// an instruction (e.g. a constant expr or GV initializer).
175 /// SafeToDestroyConstant - It is safe to destroy a constant iff it is only used
179 static bool SafeToDestroyConstant(const Constant *C) {
184 if (const Constant *CU = dyn_cast<Constant>(*UI))
    [all...]
  /external/llvm/lib/VMCore/
Core.cpp 511 return wrap(Constant::getNullValue(unwrap(Ty)));
515 return wrap(Constant::getAllOnesValue(unwrap(Ty)));
523 return isa<Constant>(unwrap(Ty));
527 if (Constant *C = dyn_cast<Constant>(unwrap(Val)))
661 Constant **Elements = unwrap<Constant>(ConstantVals, Count);
673 ArrayRef<Constant*> V(unwrap<Constant>(ConstantVals, Length), Length);
685 Constant **Elements = unwrap<Constant>(ConstantVals, Count)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/code/
BaseMachine.java 21 import com.android.dx.rop.cst.Constant;
51 /** {@code null-ok;} auxiliary constant argument */
52 private Constant auxCst;
61 private ArrayList<Constant> auxInitValues;
232 public final void auxCstArg(Constant cst) {
255 public final void auxInitValues(ArrayList<Constant> initValues) {
327 * Gets the constant auxiliary argument.
331 protected final Constant getAuxCst() {
358 protected final ArrayList<Constant> getInitValues() {
388 * local is a move. This will cause constant values to be propagate
    [all...]
  /external/llvm/lib/Transforms/Utils/
ValueMapper.cpp 89 // Okay, this either must be a constant (which may or may not be mappable) or
91 Constant *C = const_cast<Constant*>(dyn_cast<Constant>(V));
103 // Otherwise, we have some other constant to remap. Start by checking to see
123 // Okay, we need to create a new constant. We've already processed some or
125 SmallVector<Constant*, 8> Ops;
128 Ops.push_back(cast<Constant>(C->getOperand(j)));
132 Ops.push_back(cast<Constant>(Mapped));
136 Ops.push_back(MapValue(cast<Constant>(C->getOperand(OpNo)), VM
    [all...]
  /external/llvm/include/llvm/Analysis/
SparsePropagation.h 25 class Constant;
69 /// ComputeConstant - Given a constant value, compute and return a lattice
70 /// value corresponding to the specified constant.
71 virtual LatticeVal ComputeConstant(Constant *C) {
82 /// constant value, return it. Otherwise return null. The returned value
84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) {
  /dalvik/dexgen/src/com/android/dexgen/rop/cst/
CstFieldRef.java 67 protected int compareTo0(Constant other) {
CstString.java 69 protected int compareTo0(Constant other) {
Zeroes.java 38 public static Constant zeroFor(Type type) {
  /dalvik/dx/src/com/android/dx/rop/cst/
CstFieldRef.java 67 protected int compareTo0(Constant other) {
Zeroes.java 38 public static Constant zeroFor(Type type) {
  /external/dexmaker/src/dx/java/com/android/dx/rop/cst/
CstFieldRef.java 67 protected int compareTo0(Constant other) {
Zeroes.java 38 public static Constant zeroFor(Type type) {
  /external/llvm/lib/Target/ARM/
Thumb2RegisterInfo.cpp 44 const Constant *C = ConstantInt::get(
  /external/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 72 Constant *getStartFileFunc();
73 Constant *getIncrementIndirectCounterFunc();
74 Constant *getEmitFunctionFunc();
75 Constant *getEmitArcsFunc();
76 Constant *getEndFileFunc();
449 Constant::getNullValue(CounterTy),
476 Idx.push_back(Constant::getNullValue(Type::getInt64Ty(*Ctx)));
545 Constant **EdgeTable = new Constant*[Succs.size() * Preds.size()];
546 Constant *NullValue = Constant::getNullValue(Int64PtrTy)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
GlobalMerge.cpp 138 std::vector<Constant*> Inits;
150 Constant *MergedInit = ConstantStruct::get(MergedTy, Inits);
155 Constant *Idx[2] = {
159 Constant *GEP = ConstantExpr::getInBoundsGetElementPtr(MergedGV, Idx);
  /external/llvm/tools/bugpoint-passes/
TestPasses.cpp 16 #include "llvm/Constant.h"
63 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType()));
  /external/proguard/src/proguard/classfile/constant/
NameAndTypeConstant.java 21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
27 * This Constant represents a name and type constant in the constant pool.
31 public class NameAndTypeConstant extends Constant
47 * @param u2nameIndex the index of the name in the constant pool.
48 * @param u2descriptorIndex the index of the descriptor in the constant
108 // Implementations for Constant.
RefConstant.java 21 package proguard.classfile.constant;
27 * This Constant represents a ref constant in the constant pool.
31 public abstract class RefConstant extends Constant
StringConstant.java 21 package proguard.classfile.constant;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
28 * This Constant represents a string constant in the constant pool.
32 public class StringConstant extends Constant
76 * @param u2stringIndex the index of the string in the constant pool.
99 // Implementations for Constant.
  /external/proguard/src/proguard/classfile/editor/
ComparableConstant.java 24 import proguard.classfile.constant.*;
25 import proguard.classfile.constant.visitor.ConstantVisitor;
30 * This class is a <code>Comparable</code> wrapper of <code>Constant</code>
31 * objects. It can store an index, in order to identify the constant pool
33 * types of the constant pool entries, and secondarily on the contents of
34 * the constant pool entries.
60 private final Constant thisConstant;
62 private Constant otherConstant;
66 public ComparableConstant(Clazz clazz, int index, Constant constant)
    [all...]
  /external/proguard/src/proguard/classfile/util/
StringReferenceInitializer.java 24 import proguard.classfile.constant.*;
25 import proguard.classfile.constant.visitor.ConstantVisitor;
29 * it visits. More specifically, it fills out the references of string constant
56 public void visitAnyConstant(Clazz clazz, Constant constant) {}
  /external/proguard/src/proguard/classfile/visitor/
ReferencedMemberVisitor.java 26 import proguard.classfile.constant.*;
27 import proguard.classfile.constant.visitor.ConstantVisitor;
52 public void visitAnyConstant(Clazz clazz, Constant constant) {}
  /external/proguard/src/proguard/optimize/info/
PackageVisibleMemberInvokingClassMarker.java 24 import proguard.classfile.constant.visitor.ConstantVisitor;
25 import proguard.classfile.constant.*;
40 public void visitAnyConstant(Clazz clazz, Constant constant) {}
  /dalvik/dexgen/src/com/android/dexgen/dex/code/form/
Form11n.java 23 import com.android.dexgen.rop.cst.Constant;
77 Constant cst = ci.getConstant();

Completed in 682 milliseconds

1 2 3 4 56 7 8 91011>>