/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantFolder.h | 34 Constant *CreateAdd(Constant *LHS, Constant *RHS, 38 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() 41 Constant *CreateSub(Constant *LHS, Constant *RHS, 45 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() 48 Constant *CreateMul(Constant *LHS, Constant *RHS, 52 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() 55 Constant *CreateUDiv(Constant *LHS, Constant *RHS, 59 Constant *CreateSDiv(Constant *LHS, Constant *RHS, 63 Constant *CreateFDiv(Constant *LHS, Constant *RHS) const { in CreateFDiv() 66 Constant *CreateURem(Constant *LHS, Constant *RHS) const { in CreateURem() [all …]
|
D | TargetFolder.h | 36 Constant *Fold(Constant *C) const { in Fold() 38 if (Constant *CF = ConstantFoldConstantExpression(CE, TD)) in Fold() 50 Constant *CreateAdd(Constant *LHS, Constant *RHS, 54 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() 57 Constant *CreateSub(Constant *LHS, Constant *RHS, 61 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() 64 Constant *CreateMul(Constant *LHS, Constant *RHS, 68 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() 71 Constant *CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{ 74 Constant *CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{ [all …]
|
D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() 50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd() 53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, 63 Instruction *CreateNSWSub(Constant *LHS, Constant *RHS) const { in CreateNSWSub() 66 Instruction *CreateNUWSub(Constant *LHS, Constant *RHS) const { in CreateNUWSub() 69 Instruction *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() 72 Instruction *CreateMul(Constant *LHS, Constant *RHS, 79 Instruction *CreateNSWMul(Constant *LHS, Constant *RHS) const { in CreateNSWMul() [all …]
|
D | IRBuilder.h | 391 Constant *Insert(Constant *C, const Twine& = "") const { 502 if (Constant *LC = dyn_cast<Constant>(LHS)) 503 if (Constant *RC = dyn_cast<Constant>(RHS)) 515 if (Constant *LC = dyn_cast<Constant>(LHS)) 516 if (Constant *RC = dyn_cast<Constant>(RHS)) 522 if (Constant *LC = dyn_cast<Constant>(LHS)) 523 if (Constant *RC = dyn_cast<Constant>(RHS)) 535 if (Constant *LC = dyn_cast<Constant>(LHS)) 536 if (Constant *RC = dyn_cast<Constant>(RHS)) 542 if (Constant *LC = dyn_cast<Constant>(LHS)) [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 47 class ConstantInt : public Constant { 60 static Constant *getTrue(Type *Ty); 61 static Constant *getFalse(Type *Ty); 65 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); 82 static Constant *getSigned(Type *Ty, int64_t V); 95 static Constant *get(Type* Ty, const APInt& V); 230 class ConstantFP : public Constant { 246 static Constant *getZeroValueForNegation(Type *Ty); 252 static Constant *get(Type* Ty, double V); 253 static Constant *get(Type* Ty, StringRef Str); [all …]
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 34 Constant *CreateAdd(Constant *LHS, Constant *RHS, 38 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() 41 Constant *CreateSub(Constant *LHS, Constant *RHS, 45 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() 48 Constant *CreateMul(Constant *LHS, Constant *RHS, 52 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() 55 Constant *CreateUDiv(Constant *LHS, Constant *RHS, 59 Constant *CreateSDiv(Constant *LHS, Constant *RHS, 63 Constant *CreateFDiv(Constant *LHS, Constant *RHS) const { in CreateFDiv() 66 Constant *CreateURem(Constant *LHS, Constant *RHS) const { in CreateURem() [all …]
|
D | Constants.h | 48 class ConstantData : public Constant { 54 friend class Constant; variable 60 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData() 81 friend class Constant; variable 87 static Constant *getTrue(Type *Ty); 88 static Constant *getFalse(Type *Ty); 92 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); 109 static Constant *getSigned(Type *Ty, int64_t V); 122 static Constant *get(Type* Ty, const APInt& V); 259 friend class Constant; variable [all …]
|
D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd() 50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd() 53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, 63 Instruction *CreateNSWSub(Constant *LHS, Constant *RHS) const { in CreateNSWSub() 66 Instruction *CreateNUWSub(Constant *LHS, Constant *RHS) const { in CreateNUWSub() 69 Instruction *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() 72 Instruction *CreateMul(Constant *LHS, Constant *RHS, 79 Instruction *CreateNSWMul(Constant *LHS, Constant *RHS) const { in CreateNSWMul() [all …]
|
D | Constant.h | 41 class Constant : public User { 42 void operator=(const Constant &) = delete; 43 Constant(const Constant &) = delete; 47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() function 98 Constant *getAggregateElement(unsigned Elt) const; 99 Constant *getAggregateElement(Constant *Elt) const; 103 Constant *getSplatValue() const; 136 static Constant *getNullValue(Type* Ty); 141 static Constant *getAllOnesValue(Type* Ty); 145 static Constant *getIntegerValue(Type *Ty, const APInt &V); [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 36 Constant *Fold(Constant *C) const { in Fold() 38 if (Constant *CF = ConstantFoldConstantExpression(CE, DL)) in Fold() 50 Constant *CreateAdd(Constant *LHS, Constant *RHS, 54 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() 57 Constant *CreateSub(Constant *LHS, Constant *RHS, 61 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() 64 Constant *CreateMul(Constant *LHS, Constant *RHS, 68 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() 71 Constant *CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{ 74 Constant *CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{ [all …]
|
D | ConstantFolding.h | 26 class Constant; variable 37 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 45 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL, 51 Constant * 61 Constant *ConstantFoldInstOperands(Instruction *I, ArrayRef<Constant *> Ops, 73 Constant *ConstantFoldInstOperands(unsigned Opcode, Type *DestTy, 74 ArrayRef<Constant *> Ops, 82 Constant * 83 ConstantFoldCompareInstOperands(unsigned Predicate, Constant *LHS, 84 Constant *RHS, const DataLayout &DL, [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.h | 26 class Constant; variable 30 Constant *ConstantFoldCastInstruction( 32 Constant *V, ///< The source constant 35 Constant *ConstantFoldSelectInstruction(Constant *Cond, 36 Constant *V1, Constant *V2); 37 Constant *ConstantFoldExtractElementInstruction(Constant *Val, Constant *Idx); 38 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt, 39 Constant *Idx); 40 Constant *ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2, 41 Constant *Mask); [all …]
|
D | Constants.cpp | 43 bool Constant::isNegativeZeroValue() const { in isNegativeZeroValue() 52 bool Constant::isNullValue() const { in isNullValue() 65 bool Constant::isAllOnesValue() const { in isAllOnesValue() 81 Constant *Constant::getNullValue(Type *Ty) { in getNullValue() 113 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { in getIntegerValue() 117 Constant *C = ConstantInt::get(Ty->getContext(), V); in getIntegerValue() 125 C = ConstantVector::get(std::vector<Constant *>(VTy->getNumElements(), C)); in getIntegerValue() 130 Constant *Constant::getAllOnesValue(Type *Ty) { in getAllOnesValue() 141 SmallVector<Constant*, 16> Elts; in getAllOnesValue() 148 void Constant::destroyConstantImpl() { in destroyConstantImpl() [all …]
|
D | ConstantFold.cpp | 44 static Constant *BitCastConstantVector(ConstantVector *CV, in BitCastConstantVector() 47 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector() 65 std::vector<Constant*> Result; in BitCastConstantVector() 98 static Constant *FoldBitCast(Constant *V, Type *DestTy) { in FoldBitCast() 110 Constant::getNullValue(Type::getInt32Ty(DPTy->getContext())); in FoldBitCast() 142 return Constant::getNullValue(DestTy); in FoldBitCast() 194 static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart, in ExtractConstantBytes() 221 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 230 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() [all …]
|
/external/llvm/lib/IR/ |
D | ConstantFold.h | 25 class Constant; variable 29 Constant *ConstantFoldCastInstruction( 31 Constant *V, ///< The source constant 34 Constant *ConstantFoldSelectInstruction(Constant *Cond, 35 Constant *V1, Constant *V2); 36 Constant *ConstantFoldExtractElementInstruction(Constant *Val, Constant *Idx); 37 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt, 38 Constant *Idx); 39 Constant *ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2, 40 Constant *Mask); [all …]
|
D | Constants.cpp | 40 void Constant::anchor() { } in anchor() 44 bool Constant::isNegativeZeroValue() const { in isNegativeZeroValue() 70 bool Constant::isZeroValue() const { in isZeroValue() 90 bool Constant::isNullValue() const { in isNullValue() 105 bool Constant::isAllOnesValue() const { in isAllOnesValue() 116 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue() 121 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue() 127 bool Constant::isOneValue() const { in isOneValue() 138 if (Constant *Splat = CV->getSplatValue()) in isOneValue() 143 if (Constant *Splat = CV->getSplatValue()) in isOneValue() [all …]
|
/external/annotation-tools/asmx/src/org/objectweb/asm/optimizer/ |
D | ConstantPool.java | 43 private Constant key1 = new Constant(); 45 private Constant key2 = new Constant(); 47 private Constant key3 = new Constant(); 49 public Constant newInteger(final int value) { in newInteger() 51 Constant result = get(key1); in newInteger() 53 result = new Constant(key1); in newInteger() 59 public Constant newFloat(final float value) { in newFloat() 61 Constant result = get(key1); in newFloat() 63 result = new Constant(key1); in newFloat() 69 public Constant newLong(final long value) { in newLong() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | ConstantFolding.h | 24 class Constant; variable 38 Constant *ConstantFoldInstruction(Instruction *I, const TargetData *TD = 0); 43 Constant *ConstantFoldConstantExpression(const ConstantExpr *CE, 52 Constant *ConstantFoldInstOperands(unsigned Opcode, Type *DestTy, 53 ArrayRef<Constant *> Ops, 60 Constant *ConstantFoldCompareInstOperands(unsigned Predicate, 61 Constant *LHS, Constant *RHS, 67 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val, 73 Constant *ConstantFoldLoadFromConstPtr(Constant *C, const TargetData *TD = 0); 78 Constant *ConstantFoldLoadThroughGEPConstantExpr(Constant *C, ConstantExpr *CE); [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/ |
D | Constant.java | 20 public final class Constant { class 31 public final static Constant LINEBR = new Constant(LINEBR_S); 32 public final static Constant FULL_LINEBR = new Constant(FULL_LINEBR_S); 33 public final static Constant NULL_OR_LINEBR = new Constant(NULL_OR_LINEBR_S); 34 public final static Constant NULL_BL_LINEBR = new Constant(NULL_BL_LINEBR_S); 35 public final static Constant NULL_BL_T_LINEBR = new Constant(NULL_BL_T_LINEBR_S); 36 public final static Constant NULL_BL_T = new Constant(NULL_BL_T_S); 37 public final static Constant URI_CHARS = new Constant(URI_CHARS_S); 39 public final static Constant ALPHA = new Constant(ALPHA_S); 45 private Constant(String content) { in Constant() method in Constant
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | xla_client_test.py | 111 c.Constant(NumpyArrayF32([2.5, 3.3, -1.2, 0.7])), 112 c.Constant(NumpyArrayF32([-1.2, 2, -2, -3]))) 118 c.Constant(NumpyArrayF64([2.5, 3.3, -1.2, 0.7])), 119 c.Constant(NumpyArrayF64([-1.2, 2, -2, -3]))) 125 c.Constant(NumpyArrayF32([1.5, 2.5, 3.0, -10.8])), 132 c.Constant(NumpyArrayF64([1.5, 2.5, 3.0, -10.8])), 138 c.Pow(c.Constant(NumpyArrayF32([1.5, 2.5, 3.0])), c.ConstantF32Scalar(2.)) 143 c.Pow(c.Constant(NumpyArrayF64([1.5, 2.5, 3.0])), c.ConstantF64Scalar(2.)) 149 c.Constant(NumpyArrayBool([True, False, True, False])), 150 c.Constant(NumpyArrayBool([True, True, False, False]))) [all …]
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.h | 41 class Constant; variable 117 llvm::Constant *objc_autoreleasePoolPop; 120 llvm::Constant *objc_autoreleasePoolPush; 123 llvm::Constant *objc_autorelease; 126 llvm::Constant *objc_autoreleaseReturnValue; 129 llvm::Constant *objc_copyWeak; 132 llvm::Constant *objc_destroyWeak; 135 llvm::Constant *objc_initWeak; 138 llvm::Constant *objc_loadWeak; 141 llvm::Constant *objc_loadWeakRetained; [all …]
|
/external/oj-libjdwp/make/data/jdwp/ |
D | jdwp.spec | 3053 (Constant NONE =0 "No error has occurred.") 3054 …(Constant INVALID_THREAD =10 "Passed thread is null, is not a valid thread or has exited.… 3055 (Constant INVALID_THREAD_GROUP =11 "Thread group invalid.") 3056 (Constant INVALID_PRIORITY =12 "Invalid priority.") 3057 (Constant THREAD_NOT_SUSPENDED =13 "If the specified thread has not been " 3059 (Constant THREAD_SUSPENDED =14 "Thread already suspended.") 3060 (Constant THREAD_NOT_ALIVE =15 "Thread has not been started or is now dead.") 3062 (Constant INVALID_OBJECT =20 "If this reference type has been unloaded " 3064 (Constant INVALID_CLASS =21 "Invalid class.") 3065 (Constant CLASS_NOT_PREPARED =22 "Class has been loaded but not yet prepared.") [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Constant.h | 42 class Constant : public User { 46 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() function 50 void operator=(const Constant &) = delete; 51 Constant(const Constant &) = delete; 100 Constant *getAggregateElement(unsigned Elt) const; 101 Constant *getAggregateElement(Constant *Elt) const; 105 Constant *getSplatValue() const; 138 static Constant *getNullValue(Type* Ty); 143 static Constant *getAllOnesValue(Type* Ty); 147 static Constant *getIntegerValue(Type *Ty, const APInt &V); [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Evaluator.h | 50 Tmp->replaceAllUsesWith(Constant::getNullValue(Tmp->getType())); in ~Evaluator() 56 bool EvaluateFunction(Function *F, Constant *&RetVal, 57 const SmallVectorImpl<Constant*> &ActualArgs); 64 Constant *getVal(Value *V) { in getVal() 65 if (Constant *CV = dyn_cast<Constant>(V)) return CV; in getVal() 66 Constant *R = ValueStack.back().lookup(V); in getVal() 71 void setVal(Value *V, Constant *C) { in setVal() 75 const DenseMap<Constant*, Constant*> &getMutatedMemory() const { in getMutatedMemory() 84 Constant *ComputeLoadResult(Constant *P); 89 std::deque<DenseMap<Value*, Constant*>> ValueStack; [all …]
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 27 Constant* One = ConstantInt::get(Int1, 1, true); in TEST() 28 Constant* Zero = ConstantInt::get(Int1, 0); in TEST() 29 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true); in TEST() 31 Constant* Undef = UndefValue::get(Int1); in TEST() 125 Constant *Zero128 = Constant::getNullValue(Int128Ty); in TEST() 126 Constant *X = ConstantExpr::getUIToFP(Zero128, FP128Ty); in TEST() 140 EXPECT_EQ(Constant::getNullValue(Int64Ty), in TEST() 142 Constant::getNullValue(Int8PtrTy), Int64Ty)); in TEST() 145 EXPECT_EQ(Constant::getNullValue(Int32PtrTy), in TEST() 147 Constant::getNullValue(Int8PtrTy), Int32PtrTy)); in TEST() [all …]
|