Home
last modified time | relevance | path

Searched refs:Constant (Results 1 – 25 of 2819) sorted by relevance

12345678910>>...113

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h34 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 …]
DTargetFolder.h36 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 …]
DNoFolder.h40 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 …]
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h47 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/
DConstantFolder.h34 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 …]
DConstants.h48 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 …]
DNoFolder.h40 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantFolder.h36 Constant *CreateAdd(Constant *LHS, Constant *RHS,
41 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd()
45 Constant *CreateSub(Constant *LHS, Constant *RHS,
50 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub()
54 Constant *CreateMul(Constant *LHS, Constant *RHS,
59 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul()
63 Constant *CreateUDiv(Constant *LHS, Constant *RHS,
68 Constant *CreateSDiv(Constant *LHS, Constant *RHS,
73 Constant *CreateFDiv(Constant *LHS, Constant *RHS) const { in CreateFDiv()
77 Constant *CreateURem(Constant *LHS, Constant *RHS) const { in CreateURem()
[all …]
DConstants.h58 class ConstantData : public Constant {
59 friend class Constant; variable
66 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData()
85 friend class Constant; variable
98 static Constant *getTrue(Type *Ty);
99 static Constant *getFalse(Type *Ty);
103 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
120 static Constant *getSigned(Type *Ty, int64_t V);
133 static Constant *get(Type* Ty, const APInt& V);
265 friend class Constant; variable
[all …]
DNoFolder.h42 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
50 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const { in CreateNSWAdd()
54 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const { in CreateNUWAdd()
58 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd()
62 Instruction *CreateSub(Constant *LHS, Constant *RHS,
70 Instruction *CreateNSWSub(Constant *LHS, Constant *RHS) const { in CreateNSWSub()
74 Instruction *CreateNUWSub(Constant *LHS, Constant *RHS) const { in CreateNUWSub()
78 Instruction *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub()
82 Instruction *CreateMul(Constant *LHS, Constant *RHS,
90 Instruction *CreateNSWMul(Constant *LHS, Constant *RHS) const { in CreateNSWMul()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h36 Constant *Fold(Constant *C) const { in Fold()
37 if (Constant *CF = ConstantFoldConstant(C, DL)) in Fold()
49 Constant *CreateAdd(Constant *LHS, Constant *RHS,
53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd()
56 Constant *CreateSub(Constant *LHS, Constant *RHS,
60 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub()
63 Constant *CreateMul(Constant *LHS, Constant *RHS,
67 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul()
70 Constant *CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
73 Constant *CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
[all …]
DConstantFolding.h27 class Constant; variable
40 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset,
48 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL,
54 Constant *ConstantFoldConstant(const Constant *C, const DataLayout &DL,
63 Constant *ConstantFoldInstOperands(Instruction *I, ArrayRef<Constant *> Ops,
71 Constant *
72 ConstantFoldCompareInstOperands(unsigned Predicate, Constant *LHS,
73 Constant *RHS, const DataLayout &DL,
79 Constant *ConstantFoldBinaryOpOperands(unsigned Opcode, Constant *LHS,
80 Constant *RHS, const DataLayout &DL);
[all …]
/external/llvm/include/llvm/Analysis/
DTargetFolder.h36 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 …]
DConstantFolding.h26 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/
DConstantFold.h26 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 …]
DConstants.cpp43 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 …]
/external/llvm/lib/IR/
DConstantFold.h25 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 …]
DConstants.cpp40 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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.h27 class Constant; variable
31 Constant *ConstantFoldCastInstruction(
33 Constant *V, ///< The source constant
36 Constant *ConstantFoldSelectInstruction(Constant *Cond,
37 Constant *V1, Constant *V2);
38 Constant *ConstantFoldExtractElementInstruction(Constant *Val, Constant *Idx);
39 Constant *ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt,
40 Constant *Idx);
41 Constant *ConstantFoldShuffleVectorInstruction(Constant *V1, Constant *V2,
42 Constant *Mask);
[all …]
DConstants.cpp39 bool Constant::isNegativeZeroValue() const { in isNegativeZeroValue()
65 bool Constant::isZeroValue() const { in isZeroValue()
85 bool Constant::isNullValue() const { in isNullValue()
100 bool Constant::isAllOnesValue() const { in isAllOnesValue()
111 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue()
126 bool Constant::isOneValue() const { in isOneValue()
137 if (Constant *Splat = CV->getSplatValue()) in isOneValue()
152 bool Constant::isMinSignedValue() const { in isMinSignedValue()
163 if (Constant *Splat = CV->getSplatValue()) in isMinSignedValue()
178 bool Constant::isNotMinSignedValue() const { in isNotMinSignedValue()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
DstringToDouble.vert.out11 0:5 Constant:
16 0:6 Constant:
21 0:7 Constant:
26 0:8 Constant:
31 0:9 Constant:
36 0:10 Constant:
41 0:11 Constant:
46 0:12 Constant:
51 0:13 Constant:
56 0:14 Constant:
[all …]
Dnumeral.frag.out27 0:5 Constant:
32 0:6 Constant:
37 0:7 Constant:
42 0:8 Constant:
47 0:9 Constant:
52 0:10 Constant:
57 0:11 Constant:
62 0:12 Constant:
67 0:13 Constant:
72 0:14 Constant:
[all …]
D100samplerExternal.frag.out28 0:12 Constant:
33 0:13 Constant:
38 0:14 Constant:
43 0:15 Constant:
49 0:16 Constant:
57 0:18 Constant:
62 0:19 Constant:
64 0:20 Constant:
66 0:21 Constant:
68 0:22 Constant:
[all …]
Dhlsl.matrixSwizzle.vert.out12 0:7 Constant:
14 0:7 Constant:
16 0:7 Constant:
22 0:8 Constant:
24 0:8 Constant:
26 0:8 Constant:
32 0:9 Constant:
34 0:9 Constant:
36 0:9 Constant:
41 0:11 Constant:
[all …]
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/core/
DConstant.java38 public final class Constant<T> extends PrimitiveOp implements Operand<T> { class
47 public static Constant<Integer> create(Scope scope, int data) { in create()
58 public static Constant<Integer> create(Scope scope, int[] data) { in create()
69 public static Constant<Integer> create(Scope scope, int[][] data) { in create()
80 public static Constant<Integer> create(Scope scope, int[][][] data) { in create()
91 public static Constant<Integer> create(Scope scope, int[][][][] data) { in create()
102 public static Constant<Integer> create(Scope scope, int[][][][][] data) { in create()
113 public static Constant<Integer> create(Scope scope, int[][][][][][] data) { in create()
131 public static Constant<Integer> create(Scope scope, long[] shape, IntBuffer data) { in create()
144 public static Constant<Float> create(Scope scope, float data) { in create()
[all …]

12345678910>>...113