Searched refs:Const (Results 26 - 50 of 65) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp722 if (MCConstantExpr const *Const = dyn_cast<MCConstantExpr>(Op.getImm())) {
723 int64_t RegNum = Const->getValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp128 MachineInstr *Const = BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), local
131 LIS.InsertMachineInstrInMaps(*Const);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DType.h147 Const = 0x1, enumerator in enum:clang::Qualifiers::TQ
150 CVRMask = Const | Volatile | Restrict
261 bool hasConst() const { return Mask & Const; }
262 bool hasOnlyConst() const { return Mask == Const; }
263 void removeConst() { Mask &= ~Const; }
264 void addConst() { Mask |= Const; }
728 return (getLocalFastQualifiers() & Qualifiers::Const);
825 addFastQualifiers(Qualifiers::Const);
828 return withFastQualifiers(Qualifiers::Const);
3825 "Const, volatil
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGValue.h263 return Quals.getCVRQualifiers() & ~Qualifiers::Const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp382 CV_ENUM_CLASS_ENT(ModifierOptions, Const),
H A DTypeDumpVisitor.cpp106 ENUM_ENTRY(ModifierOptions, Const), ENUM_ENTRY(ModifierOptions, Volatile),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp592 uint32_t Const, uint32_t &Storage);
1408 StringRef Name, uint32_t Const,
1413 ConstantExpr::getIntToPtr(ConstantInt::get(Int32Ty, Const), Int8PtrTy));
1417 Storage = Const;
1407 exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name, uint32_t Const, uint32_t &Storage) argument
H A DLowerTypeTests.cpp982 auto ImportConstant = [&](StringRef Name, uint64_t Const, unsigned AbsWidth,
986 ConstantInt::get(isa<IntegerType>(Ty) ? Ty : Int64Ty, Const);
/freebsd-13-stable/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc394 TEST(PrintCStringTest, Const) {
429 TEST(PrintWideCStringTest, Const) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp332 IO.bitSetCase(Options, "Const", PointerOptions::Const);
342 IO.bitSetCase(Options, "Const", ModifierOptions::Const);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp584 SDValue Mul_1 = Shl_0.getOperand(1); // Const
600 SDValue Sub_0 = Shl_0.getOperand(0); // Const 0
606 SDValue Shl2_1 = Sub_1.getOperand(1); // Const
1402 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N1)) {
1403 if (!isAligned(Alignment, Const->getZExtValue()))
1408 uint64_t NewOff = GA->getOffset() + (uint64_t)Const->getSExtValue();
1409 R = CurDAG->getTargetGlobalAddress(GA->getGlobal(), SDLoc(Const),
2073 SDValue Const = CurDAG->getConstant(MaxPowerOf2, SDLoc(N), local
2076 Sum, Const);
H A DHexagonConstPropagation.cpp2807 bool Const = true, HasUse = false; local
2822 Const &= L.isSingle();
2823 if (!Const)
2826 if (HasUse && Const) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1987 auto *Const = dyn_cast<SCEVConstant>(SE.getSCEV(PN));
1988 if (!Const)
1990 return Const->getValue();
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp740 if ((pointer.getOptions() & PointerOptions::Const) != PointerOptions::None)
758 if ((modifier.Modifiers & ModifierOptions::Const) != ModifierOptions::None)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp291 if (const ConstantInt *Const = dyn_cast<ConstantInt>(V)) {
297 Offset += Const->getValue().zextOrSelf(Offset.getBitWidth());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1754 PO |= PointerOptions::Const;
1836 Mods |= ModifierOptions::Const;
1837 PO |= PointerOptions::Const;
2471 ModifierRecord MR(TypeIndex::Int32(), ModifierOptions::Const); member in class:ModifierOptions
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1817 // We want Const position encoded with the following formula :
1948 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N->getOperand(1))) {
1949 unsigned Element = Const->getZExtValue();
1957 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N->getOperand(1))) {
1958 unsigned Element = Const->getZExtValue();
H A DAMDGPURegisterBankInfo.cpp1684 int64_t Const; local
1685 if (mi_match(Reg, MRI, m_ICst(Const)))
1686 return std::make_pair(Register(), Const);
1689 if (mi_match(Reg, MRI, m_GAdd(m_Reg(Base), m_ICst(Const))))
1690 return std::make_pair(Base, Const);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3516 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(Val))
3517 return Const->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2();
8957 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(V);
8958 return Const != nullptr && Const->isNullValue();
8962 ConstantFPSDNode *Const = dyn_cast<ConstantFPSDNode>(V);
8963 return Const != nullptr && Const->isZero() && !Const->isNegative();
8967 ConstantSDNode *Const
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp1880 if (auto Const = dyn_cast<ConstantSDNode>(Op.getOperand(1)))
1881 return Const->getZExtValue() == 16;
1888 if (auto Const = dyn_cast<ConstantSDNode>(Op.getOperand(1)))
1889 return Const->getZExtValue() == 16;
1896 if (auto Const = dyn_cast<ConstantSDNode>(Op.getOperand(1)))
1897 return Const->getZExtValue() == 16;
2394 SDValue Const = DAG.getConstant(4*i, dl, MVT::i32); local
2395 SDValue AddArg = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, Const);
11753 if (auto Const = dyn_cast<ConstantSDNode>(SRA.getOperand(1))) {
11754 if (Const
12129 ConstantSDNode *Const = local
15525 auto *Const = dyn_cast<ConstantSDNode>(N.getOperand(1)); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp6854 RHSQuals |= Qualifiers::Const;
6857 RHSQuals & Qualifiers::Const,
6860 LHSQuals & Qualifiers::Const,
8909 << !!ICI << MD->getParent() << FD << FD->getType() << /*Const*/1;
8937 << isMove() << MD->getParent() << FD << FD->getType() << /*Const*/1;
9236 if (Quals == Qualifiers::Const)
9256 if (Quals == Qualifiers::Const)
9463 if (!RT || RT->getPointeeType().getCVRQualifiers() != Qualifiers::Const) {
13834 bool Const = ClassDecl->implicitCopyAssignmentHasConstParam();
13835 if (Const)
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp775 if (Quals & Qualifiers::Const)
1116 if (T.getCVRQualifiers() & (Qualifiers::Const | Qualifiers::Volatile)) {
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp633 type_quals |= clang::Qualifiers::Const;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h331 bool isConst() const { return !!(Attrs & uint32_t(PointerOptions::Const)); }
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h1820 // Const(x) is a convenient function for obtaining a const reference
1834 // EXPECT_CALL(Const(foo), Bar());
1836 inline const T& Const(const T& x) { return x; }

Completed in 575 milliseconds

123