Home
last modified time | relevance | path

Searched refs:isConstant (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DValueLattice.h96 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSCCP.cpp112 bool isConstant() const { in isConstant() function in __anoncc5c2ae50111::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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPseudoSourceValue.cpp42 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
/third_party/flutter/skia/src/sksl/ir/
DSkSLVariableReference.cpp56 SkASSERT(expr->isConstant()); in copy_constant()
103 fVariable.fInitialValue->isConstant() && fType.kind() != Type::kArray_Kind) { in constantPropagate()
108 (*exprIter->second)->isConstant()) { in constantPropagate()
DSkSLSetting.h25 SkASSERT(fValue->isConstant()); in Setting()
43 bool isConstant() const override { in isConstant() function
DSkSLPrefixExpression.h28 bool isConstant() const override { in isConstant() function
29 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant()
DSkSLConstructor.h82 bool isConstant() const override { in isConstant() function
84 if (!fArguments[i]->isConstant()) { in isConstant()
175 SkASSERT(this->isConstant()); in getMatComponent()
DSkSLNullLiteral.h34 bool isConstant() const override { in isConstant() function
DSkSLBoolLiteral.h32 bool isConstant() const override { in isConstant() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DPseudoSourceValue.h82 virtual bool isConstant(const MachineFrameInfo *) const;
106 bool isConstant(const MachineFrameInfo *MFI) const override;
122 bool isConstant(const MachineFrameInfo *) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalVariable.h54 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
60 GlobalVariable(Module &M, Type *Ty, bool isConstant,
153 bool isConstant() const { return isConstantGlobal; } in isConstant() function
/third_party/flutter/skia/third_party/externals/wuffs/lang/check/
Dgen.go164 if isConstant(n.op) {
269 case isConstant(s), isVariable(s):
297 case isConstant(n.op), isVariable(n.op):
305 func isConstant(s string) bool { return s != "" && '0' <= s[0] && s[0] <= '9' } func
/third_party/flutter/skia/src/shaders/
DSkColorShader.h27 bool isConstant() const override { return true; } in isConstant() function
55 bool isConstant() const override { return true; } in isConstant() function
/third_party/skia/src/shaders/
DSkColorShader.h27 bool isConstant() const override { return true; } in isConstant() function
59 bool isConstant() const override { return true; } in isConstant() function
/third_party/flutter/skia/modules/skottie/src/
DSkottieAnimator.cpp37 bool isConstant() const { return vidx0 == vidx1; } in isConstant() function
41 return t0 < t1 || this->isConstant(); in isValid()
54 SkASSERT(!rec.isConstant()); in localT()
283 if (rec.isConstant() || t <= rec.t0) { in eval()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DKnownBits.h49 bool isConstant() const { in isConstant() function
57 assert(isConstant() && "Can only get value when all bits are known"); in getConstant()
/third_party/mesa3d/src/amd/compiler/
Daco_lower_to_hw_instr.cpp720 if (!identity[i].isConstant() || in emit_reduction()
723 assert((identity[i].isConstant() && !identity[i].isLiteral()) || in emit_reduction()
990 if (!src.op.isConstant() && can_increase) in split_copy()
999 if (src.op.isConstant()) { in split_copy()
1031 if (!src1.isConstant()) in create_bperm()
1035 else if (!src0.isConstant()) in create_bperm()
1225 } else if (op.isConstant()) { in do_copy()
1436 if (lo.isConstant() && hi.isConstant()) { in do_pack_2x16()
1454 (!hi.isConstant() || !Operand::c32(hi.constantValue()).isLiteral() || in do_pack_2x16()
1456 if (hi.isConstant()) in do_pack_2x16()
[all …]
Daco_validate.cpp271 instr->operands[i].isConstant(), in validate_ir()
338 op.isConstant(), in validate_ir()
350 op.isConstant(), in validate_ir()
361 op.isConstant(), in validate_ir()
375 if (op.isConstant() && !op.isLiteral()) in validate_ir()
388 check(op.isConstant() || op.regClass().type() <= RegType::sgpr, in validate_ir()
406 check(op.isConstant() || op.regClass().type() == RegType::sgpr, in validate_ir()
411 check((instr->operands[0].isTemp()) && instr->operands[1].isConstant(), in validate_ir()
481 check(instr->operands[1].isConstant(), "Index must be constant", instr.get()); in validate_ir()
483 check(instr->operands[3].isConstant(), "Sign-extend flag must be constant", in validate_ir()
[all …]
Daco_assembler.cpp89 assert(instr->operands[1].isConstant()); in emit_instruction()
190 if (!instr->operands[1].isConstant()) { in emit_instruction()
201 if (instr->operands.size() >= 2 && instr->operands[1].isConstant() && in emit_instruction()
222 encoding |= instr->operands[1].isConstant() ? 1 << 17 : 0; /* IMM - immediate enable */ in emit_instruction()
247 offset = op_off1.isConstant() ? op_off1.constantValue() : op_off1.physReg(); in emit_instruction()
251 if (op_off1.isConstant()) { in emit_instruction()
263 assert(!op_off2.isConstant()); in emit_instruction()
/third_party/flutter/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelper.cpp70 color.isConstant(geometryColor); in finalizeProcessors()
170 color.isConstant(geometryColor); in finalizeProcessors()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueLatticeUtils.cpp28 if (GV->isConstant() || !GV->hasLocalLinkage() || in canTrackGlobalVariableInterprocedurally()
/third_party/flutter/skia/src/gpu/
DGrProcessorAnalysis.cpp20 fKnowOutputColor = input.isConstant(&fLastKnownOutputColor); in GrColorFragmentProcessorAnalysis()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp78 if (GV->isConstant()) in isSuitableForBSS()
178 if (GVar->isConstant()) { in getKindForGlobal()
/third_party/skia/src/gpu/
DGrProcessorAnalysis.cpp22 fOutputColorKnown = input.isConstant(&fLastKnownOutputColor); in GrColorFragmentProcessorAnalysis()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetObjectFile.cpp43 if (GVar && GVar->isConstant() && GVar->getInitializer()->needsRelocation()) in SelectSectionForGlobal()

1234567