/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ValueLattice.h | 96 if ((isConstant() || isNotConstant()) && !Other.isConstant() && 143 bool isConstant() const { return Tag == constant; } in isConstant() function 149 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 165 if (isConstant() && isa<ConstantInt>(getConstant())) { in asConstantInteger() 177 if (isConstant() || isNotConstant()) in markOverdefined() 193 assert((!isConstant() || getConstant() == V) && in markConstant() 209 assert((!isConstant() || getConstant() != V) && in markNotConstant() 213 assert(isUndefined() || isConstant()); in markNotConstant() 253 if (isConstant()) { in mergeIn() 254 if (RHS.isConstant() && getConstant() == RHS.getConstant()) in mergeIn() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/ |
D | SpirvIntrinsics.h | 101 TSpirvTypeParameter(const TIntermConstantUnion* arg) { isConstant = true; constant = arg; } in TSpirvTypeParameter() 102 TSpirvTypeParameter(const TType* arg) { isConstant = false; type = arg; } in TSpirvTypeParameter() 106 …return isConstant == rhs.isConstant && ((isConstant && constant == rhs.constant) || (!isConstant &… 110 bool isConstant; member
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ValueLattice.h | 241 bool isConstant() const { return Tag == constant; } in isConstant() function 257 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 277 if (isConstant() && isa<ConstantInt>(getConstant())) { in asConstantInteger() 306 if (isConstant()) { 399 if (RHS.isConstant()) 413 if (isConstant()) { 414 if (RHS.isConstant() && getConstant() == RHS.getConstant()) 457 if (isConstant() && Other.isConstant()) in getCompare() 462 if ((isNotConstant() && Other.isConstant() && in getCompare() 464 (isConstant() && Other.isNotConstant() && in getCompare()
|
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/ |
D | same_shape_propagation.cc | 64 bool isConstant() const { return is_constant; } in isConstant() function 79 return value.isConstant() ? static_cast<llvm::hash_code>(value.constant()) in hash_value() 84 if (lhs.isConstant()) { in operator ==() 85 return rhs.isConstant() && lhs.constant() == rhs.constant(); in operator ==() 87 return !rhs.isConstant() && lhs.value() == rhs.value(); in operator ==() 93 if (value.isConstant()) { in operator <<() 110 assert(!vector.isConstant()); 290 if (val.isConstant()) return false; in tryEvaluateShapeToRoot()
|
/external/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 55 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 61 GlobalVariable(Module &M, Type *Ty, bool isConstant, 140 bool isConstant() const { return isConstantGlobal; } in isConstant() function
|
/external/llvm/lib/CodeGen/ |
D | PseudoSourceValue.cpp | 35 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue 53 bool FixedStackPseudoSourceValue::isConstant( in isConstant() function in FixedStackPseudoSourceValue 78 bool CallEntryPseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in CallEntryPseudoSourceValue
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 112 bool isConstant() const { in isConstant() function in __anon0082af670111::LatticeVal 119 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 160 if (isConstant()) in getConstantInt() 168 if (isConstant()) in getBlockAddress() 182 if (isConstant()) in toValueLattice() 877 else if (OpSt.isConstant()) { in visitCastInst() 965 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst() 983 if (V0State.isConstant()) { in visitUnaryOperator() 1007 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator() 1025 if (V1State.isConstant() && V1State.getConstant()->isNullValue()) in visitBinaryOperator() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | PseudoSourceValue.cpp | 42 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue 60 bool FixedStackPseudoSourceValue::isConstant( in isConstant() function in FixedStackPseudoSourceValue 86 bool CallEntryPseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in CallEntryPseudoSourceValue
|
/external/skqp/src/sksl/ir/ |
D | SkSLVariableReference.cpp | 56 SkASSERT(expr->isConstant()); in copy_constant() 102 fVariable.fInitialValue->isConstant()) { in constantPropagate() 107 (*exprIter->second)->isConstant()) { in constantPropagate()
|
D | SkSLSetting.h | 25 SkASSERT(fValue->isConstant()); in Setting() 43 bool isConstant() const override { in isConstant() function
|
D | SkSLPrefixExpression.h | 27 bool isConstant() const override { in isConstant() function 28 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant()
|
D | SkSLConstructor.h | 83 bool isConstant() const override { in isConstant() function 85 if (!fArguments[i]->isConstant()) { in isConstant() 165 SkASSERT(this->isConstant()); in getMatComponent()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | PseudoSourceValue.cpp | 42 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue 60 bool FixedStackPseudoSourceValue::isConstant( in isConstant() function in FixedStackPseudoSourceValue 86 bool CallEntryPseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in CallEntryPseudoSourceValue
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 91 bool isConstant() const { in isConstant() function in __anon8e75af050111::LatticeVal 97 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 138 if (isConstant()) in getConstantInt() 775 else if (OpSt.isConstant()) { in visitCastInst() 864 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst() 883 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator() 945 if (V1State.isConstant() && V2State.isConstant()) { in visitCmpInst() 992 assert(State.isConstant() && "Unknown state!"); in visitGetElementPtrInst() 1037 if (!PtrVal.isConstant() || I.isVolatile()) in visitLoadInst() 1097 assert(State.isConstant() && "Unknown state!"); in visitCallSite() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | PseudoSourceValue.h | 73 virtual bool isConstant(const MachineFrameInfo *) const; 97 bool isConstant(const MachineFrameInfo *MFI) const override; 113 bool isConstant(const MachineFrameInfo *) const override;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | PseudoSourceValue.h | 82 virtual bool isConstant(const MachineFrameInfo *) const; 106 bool isConstant(const MachineFrameInfo *MFI) const override; 122 bool isConstant(const MachineFrameInfo *) const override;
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | PseudoSourceValue.h | 81 virtual bool isConstant(const MachineFrameInfo *) const; 105 bool isConstant(const MachineFrameInfo *MFI) const override; 121 bool isConstant(const MachineFrameInfo *) const override;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 54 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 60 GlobalVariable(Module &M, Type *Ty, bool isConstant, 153 bool isConstant() const { return isConstantGlobal; } in isConstant() function
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 53 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 59 GlobalVariable(Module &M, Type *Ty, bool isConstant, LinkageTypes Linkage, 153 bool isConstant() const { return isConstantGlobal; } in isConstant() function
|
/external/skqp/src/shaders/ |
D | SkColorShader.h | 28 bool isConstant() const override { return true; } in isConstant() function 60 bool isConstant() const override { return true; } in isConstant() function
|
/external/skia/src/shaders/ |
D | SkColorShader.h | 27 bool isConstant() const override { return true; } in isConstant() function 59 bool isConstant() const override { return true; } in isConstant() function
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | MagicNumbersCheck.h | 33 bool isConstant(const clang::ast_matchers::MatchFinder::MatchResult &Result, 68 if (isConstant(Result, *MatchedLiteral)) in checkBoundMatch()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 98 bool isConstant(const ValueLatticeElement &LV) { in isConstant() function 99 return LV.isConstant() || in isConstant() 108 return !LV.isUnknownOrUndef() && !isConstant(LV); in isOverdefined() 346 if (!isConstant(LV)) in isStructLatticeConstant() 355 if (LV.isConstant()) in getConstant() 970 if (isConstant(V0State)) { in visitUnaryOperator() 1004 if ((V1State.isConstant() || V2State.isConstant())) { in visitBinaryOperator() 1005 Value *V1 = isConstant(V1State) ? getConstant(V1State) : I.getOperand(0); in visitBinaryOperator() 1006 Value *V2 = isConstant(V2State) ? getConstant(V2State) : I.getOperand(1); in visitBinaryOperator() 1071 !isConstant(ValueState[&I])) in visitCmpInst() [all …]
|
/external/skia/modules/skottie/src/animator/ |
D | KeyframeAnimator.h | 60 bool isConstant() const { in isConstant() function 76 bool isConstant() const { return vrec0 == vrec1; } in isConstant() function
|
/external/llvm-project/llvm/lib/Support/ |
D | KnownBits.cpp | 188 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in shl() 215 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in lshr() 242 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in ashr() 393 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) { in urem() 414 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) { in srem()
|