| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueLattice.cpp | 26 if (isConstant() && Other.isConstant()) in getCompare() 32 if ((isNotConstant() && Other.isConstant() && in getCompare() 34 (isConstant() && Other.isNotConstant() && in getCompare()
|
| H A D | ValueLatticeUtils.cpp | 28 if (GV->isConstant() || !GV->hasLocalLinkage() || in canTrackGlobalVariableInterprocedurally()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueLattice.h | 240 bool isConstant() const { return Tag == constant; } in isConstant() function 256 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant() 276 if (isConstant() && isa<ConstantInt>(getConstant())) { in asConstantInteger() 305 if (isConstant()) { 398 if (RHS.isConstant()) 412 if (isConstant()) { 413 if (RHS.isConstant() && getConstant() == RHS.getConstant())
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | PseudoSourceValue.h | 77 virtual bool isConstant(const MachineFrameInfo *) const; 101 bool isConstant(const MachineFrameInfo *MFI) const override; 117 bool isConstant(const MachineFrameInfo *) const override;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | PseudoSourceValue.cpp | 40 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue 58 bool FixedStackPseudoSourceValue::isConstant( in isConstant() function in FixedStackPseudoSourceValue 84 bool CallEntryPseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in CallEntryPseudoSourceValue
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GlobalVariable.h | 58 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 64 GlobalVariable(Module &M, Type *Ty, bool isConstant, LinkageTypes Linkage, 158 bool isConstant() const { return isConstantGlobal; } in isConstant() function
|
| H A D | MDBuilder.h | 182 bool isConstant = false);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 32 !GV.isConstant() || in shouldConvertToRelLookupTable() 81 if (!GlovalVarOp || !GlovalVarOp->isConstant()) in shouldConvertToRelLookupTable() 103 M, IntArrayTy, LookupTable.isConstant(), LookupTable.getLinkage(), in createRelLookupTable()
|
| H A D | SCCPSolver.cpp | 56 return LV.isConstant() || in isConstant() 894 if (!SCCPSolver::isConstant(LV)) in isStructLatticeConstant() 902 if (LV.isConstant()) { in getConstant() 926 ConstVals.push_back(SCCPSolver::isConstant(LV) in getConstantOrNull() 1411 if (SCCPSolver::isConstant(V0State)) in visitUnaryOperator() 1436 if (SCCPSolver::isConstant(V0State) && in visitFreezeInst() 1461 if ((V1State.isConstant() || V2State.isConstant())) { in visitBinaryOperator() 1462 Value *V1 = SCCPSolver::isConstant(V1State) in visitBinaryOperator() 1465 Value *V2 = SCCPSolver::isConstant(V2State) in visitBinaryOperator() 1522 !SCCPSolver::isConstant(ValueState[&I])) in visitCmpInst() [all …]
|
| H A D | CtorUtils.cpp | 49 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), in removeGlobalCtors()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64GlobalsTagging.cpp | 40 if (G.getName().starts_with("llvm.") || G.isThreadLocal() || G.isConstant()) { in shouldTagGlobal() 104 M, Initializer->getType(), G->isConstant(), G->getLinkage(), in tagGlobalDefinition()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 414 if (isConstant(E)) in observeStmt() 448 bool isConstant(const InitListExpr *Candidate) const { in isConstant() function in __anon4041c0e70211::DeadStoreObs 452 return isConstant(Init->IgnoreParenCasts()); in isConstant() 457 bool isConstant(const Expr *E) const { in isConstant() function in __anon4041c0e70211::DeadStoreObs 464 return isConstant(ILE); in isConstant()
|
| H A D | FixedAddressChecker.cpp | 48 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SVals.cpp | 246 bool SVal::isConstant() const { in isConstant() function in SVal 250 bool SVal::isConstant(int I) const { in isConstant() function in SVal 259 return isConstant(0); in isZeroConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetObjectFile.cpp | 43 if (GVar && GVar->isConstant() && in SelectSectionForGlobal()
|
| H A D | PPCMergeStringPool.cpp | 168 LLVM_DEBUG(dbgs() << "isConstant() " << Global.isConstant() << "\n"); in collectCandidateConstants() 173 if (!Global.isConstant() || !Global.hasInitializer()) in collectCandidateConstants()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBlocks.h | 176 bool isConstant() const { return !isIndex(); } in isConstant() function 196 assert(isConstant()); in getConstant()
|
| H A D | CGCUDARuntime.h | 71 bool isConstant() const { return Constant; } in isConstant() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 89 if (GV->isConstant()) in isSuitableForBSS() 252 if (GVar->isConstant()) { in getKindForGlobal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUMemoryUtils.cpp | 54 if (GV.isConstant()) { in isLDSVariableToLower()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ExtractGV.cpp | 74 !GV.isDeclaration() && (!GV.isConstant() || !keepConstInit); in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 50 bool isConstant() const { in isConstant() function 58 assert(isConstant() && "Can only get value when all bits are known"); in getConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SCCPSolver.h | 198 static bool isConstant(const ValueLatticeElement &LV);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 350 (!DGVar->isConstant() || !SGVar->isConstant())) { in linkIfNeeded() 562 Var->isConstant(), Var->getLinkage(), in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VERegisterInfo.td | 151 let isConstant = true in 157 let isConstant = true in
|