/external/llvm/unittests/IR/ |
WaymarkTest.cpp | 22 Constant *char2constant(char c) {
|
/external/proguard/src/proguard/ |
GetAnnotationChecker.java | 24 import proguard.classfile.constant.*; 25 import proguard.classfile.constant.visitor.ConstantVisitor; 29 * This constant visitor checks whether visited method references try to 52 public void visitAnyConstant(Clazz clazz, Constant constant) {}
|
/external/proguard/src/proguard/classfile/constant/ |
InvokeDynamicConstant.java | 21 package proguard.classfile.constant; 24 import proguard.classfile.constant.visitor.*; 28 * This Constant represents an invoke dynamic constant in the constant pool. 32 public class InvokeDynamicConstant extends Constant 61 * entry in the constant pool. 129 * Lets the bootstrap method handle constant accept the given visitor. 137 // Implementations for Constant.
|
/external/proguard/src/proguard/classfile/editor/ |
BootstrapMethodRemapper.java | 30 import proguard.classfile.constant.*; 31 import proguard.classfile.constant.visitor.ConstantVisitor; 51 * Sets the given mapping of old constant pool entry indexes to their new 62 public void visitAnyConstant(Clazz clazz, Constant constant) {} 83 throw new IllegalArgumentException("Can't remap constant index ["+constantIndex+"]");
|
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. 63 private final Constant thisConstant; 65 private Constant otherConstant; 69 public ComparableConstant(Clazz clazz, int index, Constant constant) [all...] |
/external/proguard/src/proguard/classfile/io/ |
LibraryClassReader.java | 24 import proguard.classfile.constant.*; 25 import proguard.classfile.constant.visitor.ConstantVisitor; 52 private Constant[] constantPool; 91 // Read the constant pool. Note that the first entry is not used. 94 // Create the constant pool array. 95 constantPool = new Constant[u2constantPoolCount]; 99 Constant constant = createConstant(); local 100 constant.accept(libraryClass, this); 102 int tag = constant.getTag() [all...] |
/external/proguard/src/proguard/classfile/visitor/ |
DotClassClassVisitor.java | 25 import proguard.classfile.constant.*; 26 import proguard.classfile.constant.visitor.ConstantVisitor; 81 public void visitAnyConstant(Clazz clazz, Constant constant) {}
|
/external/proguard/src/proguard/optimize/info/ |
DotClassMarker.java | 25 import proguard.classfile.constant.*; 26 import proguard.classfile.constant.visitor.ConstantVisitor; 61 public void visitAnyConstant(Clazz clazz, Constant constant) {}
|
MethodInvocationMarker.java | 25 import proguard.classfile.constant.*; 26 import proguard.classfile.constant.visitor.ConstantVisitor; 57 public void visitAnyConstant(Clazz clazz, Constant constant) {}
|
PackageVisibleMemberInvokingClassMarker.java | 24 import proguard.classfile.constant.*; 25 import proguard.classfile.constant.visitor.ConstantVisitor; 46 public void visitAnyConstant(Clazz clazz, Constant constant) {}
|
/external/v8/src/compiler/ |
js-graph.cc | 116 Node* JSGraph::Constant(Handle<Object> value) { 117 // Dereference the handle to determine if a number constant or other 120 return Constant(value->Number()); 137 Node* JSGraph::Constant(double value) { 144 Node* JSGraph::Constant(int32_t value) {
|
instruction.cc | 118 case InstructionOperand::CONSTANT: 119 return os << "[constant:" << ConstantOperand::cast(op).virtual_register() 504 Constant::Constant(int32_t v) : type_(kInt32), value_(v) {} 506 Constant::Constant(RelocatablePtrConstantInfo info) { 518 Handle<HeapObject> Constant::ToHeapObject() const { 528 std::ostream& operator<<(std::ostream& os, const Constant& constant) { 529 switch (constant.type()) 851 Constant constant = local 1011 Constant constant = code.immediates_[i]; local 1012 os << "IMM#" << i << ": " << constant << "\\n"; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ValueEncoder.java | 21 import com.android.dexgen.rop.cst.Constant; 50 /** annotation value type constant: {@code byte} */ 53 /** annotation value type constant: {@code short} */ 56 /** annotation value type constant: {@code char} */ 59 /** annotation value type constant: {@code int} */ 62 /** annotation value type constant: {@code long} */ 65 /** annotation value type constant: {@code float} */ 68 /** annotation value type constant: {@code double} */ 71 /** annotation value type constant: {@code string} */ 74 /** annotation value type constant: {@code type} * [all...] |
/external/llvm/include/llvm/IR/ |
Function.h | 526 Constant *getPersonalityFn() const; 527 void setPersonalityFn(Constant *Fn); 535 Constant *getPrefixData() const; 536 void setPrefixData(Constant *PrefixData); 544 Constant *getPrologueData() const; 545 void setPrologueData(Constant *PrologueData); 639 template<int Idx> void setHungoffOperand(Constant *C);
|
/external/eigen/Eigen/src/Core/ |
CwiseNullaryOp.h | 24 * It is the return type of the Ones(), Zero(), Constant(), Identity() and Random() methods, 164 /** \returns an expression of a constant matrix of value \a value 179 DenseBase<Derived>::Constant(Index nbRows, Index nbCols, const Scalar& value) 184 /** \returns an expression of a constant matrix of value \a value 201 DenseBase<Derived>::Constant(Index size, const Scalar& value) 206 /** \returns an expression of a constant matrix of value \a value 217 DenseBase<Derived>::Constant(const Scalar& value) 319 * \sa setConstant(), Constant(), class CwiseNullaryOp 329 * \sa fill(), setConstant(Index,const Scalar&), setConstant(Index,Index,const Scalar&), setZero(), setOnes(), Constant(), class CwiseNullaryOp, setZero(), setOnes() 334 return derived() = Constant(rows(), cols(), val) [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.h | 175 AP.lowerConstantForGV(cast<Constant>(CExpr), false); 241 const MCExpr *lowerConstantForGV(const Constant *CV, bool ProcessingGeneric); 279 void printScalarConstant(const Constant *CPV, raw_ostream &O); 281 void bufferLEByte(const Constant *CPV, int Bytes, AggBuffer *aggBuffer); 282 void bufferAggregateConstant(const Constant *CV, AggBuffer *aggBuffer);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 26 /// specified instruction is a constant integer. If so, check to see if there 27 /// are any bits set in the constant that are not demanded. If so, shrink the 28 /// constant and return true. 34 // If the operand is not a constant integer, nothing to do. 87 /// to replace V with a constant or one of its operands. In such cases, this 119 // We know all of the bits for a constant! 125 // We know all of the bits for a constant! 178 return Constant::getNullValue(VTy); 252 // constant. 255 return Constant::getIntegerValue(VTy, RHSKnownOne & LHSKnownOne) [all...] |
InstCombineSelect.cpp | 100 /// constant that goes into the select. 101 static Constant *GetSelectFoldableConstant(Instruction *I) { 111 return Constant::getNullValue(I->getType()); 113 return Constant::getAllOnesValue(I->getType()); 193 static bool isSelect01(Constant *C1, Constant *C2) { 214 !isa<Constant>(FalseVal)) { 224 Constant *C = GetSelectFoldableConstant(TVI); 228 if (!isa<Constant>(OOp) || isSelect01(C, cast<Constant>(OOp))) [all...] |
InstCombineAddSub.cpp | 114 /// constant coefficient. A constant addend is represented as <C, 0>. 350 // Legend: A and B are not constant, C is constant 561 InstQuota = ((!isa<Constant>(V0) && V0->hasOneUse()) && 562 (!isa<Constant>(V1) && V1->hasOneUse())) ? 2 : 1; 613 // Points to the constant addend of the resulting simplified expression. 614 // If the resulting expr has constant-addend, this constant-addend is 616 // constant close to supper-expr(s) will potentially reveal some optimizatio [all...] |
InstCombineVectorOps.cpp | 29 if (Constant *C = dyn_cast<Constant>(V)) { 33 if (Constant *Op0 = C->getAggregateElement(0U)) { 45 // this is constant idx extract element and its a constant idx insertelt. 66 // itself and be an operand of extractelement at a constant location, 136 // If vector val is constant with all elements the same, replace EI with 138 if (Constant *C = dyn_cast<Constant>(EI.getOperand(0))) 204 if (isa<Constant>(IE->getOperand(2)) && isa<Constant>(EI.getOperand(1))) [all...] |
/external/clang/lib/CodeGen/ |
CGException.cpp | 32 static llvm::Constant *getFreeExceptionFn(CodeGenModule &CGM) { 41 static llvm::Constant *getUnexpectedFn(CodeGenModule &CGM) { 50 llvm::Constant *CodeGenModule::getTerminateFn() { 76 static llvm::Constant *getCatchallRethrowFn(CodeGenModule &CGM, 222 static llvm::Constant *getPersonalityFn(CodeGenModule &CGM, 224 llvm::Constant *Fn = 230 static llvm::Constant *getOpaquePersonalityFn(CodeGenModule &CGM, 232 llvm::Constant *Fn = getPersonalityFn(CGM, Personality); 251 llvm::Constant *CVal = cast<llvm::Constant>(Val) [all...] |
CGDecl.cpp | 137 // some variables even if we can constant-evaluate them because 138 // we can't guarantee every translation unit will constant-evaluate them. 177 llvm::Constant *CodeGenModule::getOrCreateStaticVarDecl( 183 if (llvm::Constant *ExistingGV = StaticLocalDeclMap[&D]) 201 llvm::Constant *Init = nullptr; 231 llvm::Constant *Addr = GV; 285 llvm::Constant *Init = CGM.EmitConstantInit(D, this); 287 // If constant emission failed, then this should be a C++ static 291 CGM.ErrorUnsupported(D.getInit(), "constant l-value expression"); 294 // be constant 1201 llvm::Constant *constant = nullptr; local [all...] |
/external/llvm/lib/CodeGen/ |
SjLjEHPrepare.cpp | 51 Constant *RegisterFn; 52 Constant *UnregisterFn; 53 Constant *BuiltinSetupDispatchFn; 54 Constant *FrameAddrFn; 55 Constant *StackAddrFn; 56 Constant *StackRestoreFn; 57 Constant *LSDAAddrFn; 59 Constant *CallSiteFn; 60 Constant *FuncCtxFn;
|
/external/llvm/lib/IR/ |
Module.cpp | 118 Constant *Module::getOrInsertFunction(StringRef Name, 141 Constant *Module::getOrInsertFunction(StringRef Name, 151 Constant *Module::getOrInsertFunction(StringRef Name, 170 Constant *Module::getOrInsertFunction(StringRef Name, 220 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { 352 Constant *Val) {
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | 100 LPI->addClause(cast<Constant>(EHSel->getArgOperand(j))); 112 SmallVector<Constant *, 4> TyInfo; 115 TyInfo.push_back(cast<Constant>(EHSel->getArgOperand(j))); 131 LPI->addClause(cast<Constant>(EHSel->getArgOperand(j))); 342 /// The key of this vector is the placeholder constant, the value is the slot 344 typedef std::vector<std::pair<Constant*, unsigned> > ResolveConstantsTy; 378 Constant *getConstantFwdRef(unsigned Idx, Type *Ty); 860 if (Constant *PHC = dyn_cast<Constant>(&*OldV)) { 872 Constant *BitcodeReaderValueList::getConstantFwdRef(unsigned Idx [all...] |