/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
CstKnownNull.java | 22 * Constant type to represent a known-{@code null} value. 50 protected int compareTo0(Constant other) {
|
CstLiteral32.java | 52 protected int compareTo0(Constant other) {
|
CstLiteral64.java | 52 protected int compareTo0(Constant other) {
|
CstNat.java | 24 public final class CstNat extends Constant { 79 protected int compareTo0(Constant other) {
|
/external/llvm/include/llvm/CodeGen/ |
GCMetadata.h | 44 class Constant; 74 const Constant *Metadata; ///< Metadata straight from the call 77 GCRoot(int N, const Constant *MD) : Num(N), StackOffset(-1), Metadata(MD) {} 121 void addStackRoot(int Num, const Constant *Metadata) {
|
/external/llvm/lib/Target/ |
TargetLoweringObjectFile.cpp | 51 const Constant *C = GV->getInitializer(); 57 // Leave constant zeros in readonly constant sections, so they can be shared. 73 /// IsNullTerminatedString - Return true if the specified constant (which is 77 static bool IsNullTerminatedString(const Constant *C) { 78 // First check: is we have constant array terminated with zero 149 const Constant *C = GVar->getInitializer(); 151 // If the global is marked constant, we can put it into a mergable section, 158 case Constant::NoRelocation: 184 // Otherwise, just drop it into a mergable constant section. If we hav [all...] |
/external/proguard/src/proguard/classfile/constant/ |
ClassConstant.java | 21 package proguard.classfile.constant; 24 import proguard.classfile.constant.visitor.ConstantVisitor; 28 * This Constant represents a class constant in the constant pool. 32 public class ClassConstant extends Constant 62 * @param u2nameIndex the index of the name in the constant pool. 82 // Implementations for Constant.
|
/external/llvm/lib/VMCore/ |
ConstantsContext.h | 33 /// behind the scenes to implement unary constant exprs. 42 UnaryConstantExpr(unsigned Opcode, Constant *C, Type *Ty) 50 /// behind the scenes to implement binary constant exprs. 59 BinaryConstantExpr(unsigned Opcode, Constant *C1, Constant *C2, 71 /// behind the scenes to implement select constant exprs. 80 SelectConstantExpr(Constant *C1, Constant *C2, Constant *C3) 92 /// extractelement constant exprs [all...] |
Globals.cpp | 83 GlobalVariable::GlobalVariable(Type *Ty, bool constant, LinkageTypes Link, 84 Constant *InitVal, const Twine &Name, 90 isConstantGlobal(constant), threadLocalMode(TLMode) { 100 GlobalVariable::GlobalVariable(Module &M, Type *Ty, bool constant, 101 LinkageTypes Link, Constant *InitVal, 109 isConstantGlobal(constant), threadLocalMode(TLMode) { 142 // If you call this, then you better know this GVar has a constant 150 "Attempt to replace wrong constant initializer in GVar"); 152 // And, you better have a constant for the replacement value 153 assert(isa<Constant>(To) & [all...] |
/external/llvm/lib/CodeGen/ |
ShadowStackGC.cpp | 63 Constant *GetFrameMap(Function &F); 147 Constant *PersFn = 202 Constant *ShadowStackGC::GetFrameMap(Function &F) { 208 SmallVector<Constant*, 16> Metadata; 210 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1)); 219 Constant *BaseElts[] = { 224 Constant *DescriptorElts[] = { 232 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts); 247 Constant *GV = new GlobalVariable(*F.getParent(), FrameMap->getType(), true [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
UniformItemSection.java | 19 import com.android.dexgen.rop.cst.Constant; 58 * Gets the item corresponding to the given {@link Constant}. This 59 * will throw an exception if the constant is not found, including 63 * @param cst {@code non-null;} constant to look for 66 public abstract IndexedItem get(Constant cst);
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
PlainCstInsn.java | 19 import com.android.dexgen.rop.cst.Constant; 25 * Instruction which contains an explicit reference to a constant 37 * @param cst {@code non-null;} the constant 41 Constant cst) {
|
ThrowingCstInsn.java | 19 import com.android.dexgen.rop.cst.Constant; 24 * Instruction which contains an explicit reference to a constant 39 * @param cst {@code non-null;} the constant 43 TypeList catches, Constant cst) {
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstNat.java | 24 public final class CstNat extends Constant { 79 protected int compareTo0(Constant other) {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
UniformItemSection.java | 19 import com.android.dx.rop.cst.Constant; 58 * Gets the item corresponding to the given {@link Constant}. This 59 * will throw an exception if the constant is not found, including 63 * @param cst {@code non-null;} constant to look for 66 public abstract IndexedItem get(Constant cst);
|
/dalvik/dx/src/com/android/dx/rop/code/ |
PlainCstInsn.java | 19 import com.android.dx.rop.cst.Constant; 25 * Instruction which contains an explicit reference to a constant 37 * @param cst {@code non-null;} the constant 41 Constant cst) {
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstNat.java | 24 public final class CstNat extends Constant { 79 protected int compareTo0(Constant other) {
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
UniformItemSection.java | 19 import com.android.dx.rop.cst.Constant; 58 * Gets the item corresponding to the given {@link Constant}. This 59 * will throw an exception if the constant is not found, including 63 * @param cst {@code non-null;} constant to look for 66 public abstract IndexedItem get(Constant cst);
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
PlainCstInsn.java | 19 import com.android.dx.rop.cst.Constant; 25 * Instruction which contains an explicit reference to a constant 37 * @param cst {@code non-null;} the constant 41 Constant cst) {
|
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 71 if (isa<Constant>(S->getOperand(0))) return false; 73 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent()); 98 if (isa<Constant>(Incoming)) continue; 100 Constant *C = LVI->getConstantOnEdge(P->getIncomingValue(i), 128 if (isa<Constant>(Pointer)) return false; 130 Constant *C = LVI->getConstant(Pointer, I->getParent()); 139 /// constant propagation would already have figured it out. Instead, walk 149 Constant *Op1 = dyn_cast<Constant>(C->getOperand(1)); 181 /// constant propagation would already have figured it out. Instead, walk th [all...] |
/external/clang/lib/CodeGen/ |
ItaniumCXXABI.cpp | 73 llvm::Constant *EmitMemberPointerConversion(const CastExpr *E, 74 llvm::Constant *Src); 76 llvm::Constant *EmitNullMemberPointer(const MemberPointerType *MPT); 78 llvm::Constant *EmitMemberPointer(const CXXMethodDecl *MD); 79 llvm::Constant *EmitMemberDataPointer(const MemberPointerType *MPT, 81 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 82 llvm::Constant *BuildMemberPointer(const CXXMethodDecl *MD, 125 void registerGlobalDtor(CodeGenFunction &CGF, llvm::Constant *dtor, 126 llvm::Constant *addr); 225 llvm::Constant *ptrdiff_1 = llvm::ConstantInt::get(ptrdiff, 1) [all...] |
/external/llvm/lib/Transforms/IPO/ |
ConstantMerge.cpp | 11 // constants together into a single constant that is shared. This is useful 111 DenseMap<PointerIntPair<Constant*, 1, bool>, GlobalVariable*> CMap; 118 // Iterate constant merging while we are still making progress. Merging two 150 Constant *Init = GV->getInitializer(); 153 PointerIntPair<Constant*, 1, bool> Pair(Init, hasKnownAlignment(GV)); 156 // If this is the first constant we find or if the old one is local, 158 // it cannot be replace, but can be the canonical constant we merge with. 166 // invalidating the Constant* pointers in CMap. 178 // We can only replace constant with local linkage. 182 Constant *Init = GV->getInitializer() [all...] |
/external/llvm/unittests/VMCore/ |
InstructionsTest.cpp | 35 Constant* One = ConstantInt::get(Int1, 1, true); 73 Constant* One = ConstantInt::get(Int1, 1, true); 125 const Constant* c8 = Constant::getNullValue(V8x8Ty); 126 const Constant* c64 = Constant::getNullValue(V8x64Ty); 153 std::vector<Constant*> ConstVa(2, Ci32a); 154 std::vector<Constant*> ConstVb(2, Ci32b); 155 Constant *C2xi32a = ConstantVector::get(ConstVa); 156 Constant *C2xi32b = ConstantVector::get(ConstVb) [all...] |
/external/llvm/include/llvm/Support/ |
IntegersSubset.h | 11 /// This file contains class that implements constant set of ranges: 49 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 56 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 64 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 73 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 82 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 148 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); 354 /// Checks is the given constant satisfies this case. Returns 457 /// that also supports conversion to/from Constant* object. 462 Constant *Holder [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 11 // that do not require creating new instructions. This does constant folding 12 // ("add i32 1, 1" -> "2") but can also handle non-constant operands, either 13 // returning a constant ("and i32 %x, 0" -> "0") or an already existing value 64 static Constant *getFalse(Type *Ty) { 67 return Constant::getNullValue(Ty); 72 static Constant *getTrue(Type *Ty) { 75 return Constant::getAllOnesValue(Ty); 501 SimplifyXorInst(Cond, Constant::getAllOnesValue(Cond->getType()), 594 if (Constant *CLHS = dyn_cast<Constant>(Op0)) [all...] |