Searched refs:Const (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp132 auto *Const = dyn_cast<ConstantFP>(I.getOperand(1)); local
135 if (!Const)
142 // Check if Const is one of our recognized consts.
144 if (Const->isZero()) {
147 } else if (Const->isInfinity()) {
149 WhichConst = Const->isNegative() ? 2 : 1;
150 } else if (Const->isExactlyValue(Smallest)) {
156 } else if (Const->isExactlyValue(NegSmallest)) {
242 auto *Const = dyn_cast<ConstantInt>(I.getOperand(1)); local
245 if (!Const)
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeBuiltin.cpp35 return (Mods & ModifierOptions::Const) != ModifierOptions::None;
H A DNativeTypePointer.cpp134 return (Record->getOptions() & PointerOptions::Const) != PointerOptions::None;
H A DNativeTypeUDT.cpp138 return (Modifiers->Modifiers & ModifierOptions::Const) !=
H A DNativeTypeEnum.cpp357 return ((Modifiers->getModifiers() & ModifierOptions::Const) !=
/freebsd-13-stable/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp33 static std::string GetRecordMethodMacroName(bool Static, bool Const, argument
42 if (Const)
56 static std::string GetRegisterMethodMacroName(bool Static, bool Const) { argument
64 if (Const)
73 bool Const) {
77 OS << GetRecordMethodMacroName(Static, Const, Values.empty());
126 bool Static, bool Const) {
129 OS << GetRegisterMethodMacroName(Static, Const);
70 GetRecordMethodMacro(StringRef Result, StringRef Class, StringRef Method, StringRef Signature, StringRef Values, bool Static, bool Const) argument
124 GetRegisterMethodMacro(StringRef Result, StringRef Class, StringRef Method, StringRef Signature, bool Static, bool Const) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h44 const Value *Const; ///< Valid for constants. member in union:llvm::SDDbgValue::__anon3576
72 u.Const = C;
105 const Value *getConst() const { assert (kind==CONST); return u.Const; }
/freebsd-13-stable/crypto/openssl/crypto/md5/asm/
H A Dmd5-x86_64.pl28 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
53 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
76 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
109 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp195 if (Mods & uint16_t(ModifierOptions::Const))
324 ConstantSym Const(SymbolKind::S_CONSTANT);
326 cantFail(Mapping.visitKnownRecord(Sym, Const));
328 return Const.Name;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp358 if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(0)))
359 ICmpConst = Const;
360 else if (auto *Const = dyn_cast<ConstantInt>(CI->getOperand(1)))
361 ICmpConst = Const;
463 auto Const = cast<ConstantInt>(I->getOperand(1)); local
464 auto *NewConst = ConstantInt::get(Ctx, Const->getValue().abs());
537 if (auto *Const = dyn_cast<ConstantInt>(Op)) {
538 Constant *NewConst = ConstantExpr::getZExt(Const, ExtTy);
H A DHardwareLoops.cpp365 if (auto *Const = dyn_cast<ConstantInt>(ICmp->getOperand(OpIdx)))
366 return Const->isZero() && ICmp->getOperand(OpIdx ^ 1) == Count;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp246 auto Const = buildInstr(TargetOpcode::G_CONSTANT) local
249 return buildSplatVector(Res, Const);
252 auto Const = buildInstr(TargetOpcode::G_CONSTANT); local
253 Const->setDebugLoc(DebugLoc());
254 Res.addDefToMIB(*getMRI(), Const); local
255 Const.addCImm(&Val);
256 return Const;
279 auto Const = buildInstr(TargetOpcode::G_FCONSTANT) local
283 return buildSplatVector(Res, Const);
286 auto Const local
288 Res.addDefToMIB(*getMRI(), Const); local
[all...]
/freebsd-13-stable/contrib/googletest/googlemock/test/
H A Dgmock-generated-function-mockers_test.cc63 using testing::Const;
114 // Const qualifiers on arguments were once (incorrectly) considered
287 EXPECT_CALL(Const(mock_foo_), OverloadedOnConstness())
291 EXPECT_EQ('a', Const(*foo_).OverloadedOnConstness());
338 EXPECT_CALL(Const(mock_foo_), CTConst(_))
341 EXPECT_EQ('a', Const(*foo_).CTConst(0));
H A Dgmock-spec-builders_test.cc72 using testing::Const;
2547 TEST(VerifyAndClearTest, Const) {
2549 ON_CALL(Const(b), DoB())
2552 EXPECT_CALL(Const(b), DoB())
2741 ON_CALL(Const(mock), Overloaded(5)).WillByDefault(Return(11));
2742 ON_CALL(Const(mock), Overloaded(7)).WillByDefault(Return(13));
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp558 ConstantAggregateBuilder &Const, CharUnits Offset,
623 ConstantAggregateBuilder &Const,
627 return ConstStructBuilder::UpdateStruct(Emitter, Const, Offset, Updater);
653 if (!Const.add(FillC, Offset, true))
658 if (!EmitDesignatedInitUpdater(Emitter, Const, Offset, ElemType,
662 Const.condense(Offset, ElemTy);
665 if (!Const.add(Val, Offset, true))
862 ConstantAggregateBuilder Const(Emitter.CGM);
863 ConstStructBuilder Builder(Emitter, Const, CharUnits::Zero());
874 ConstantAggregateBuilder Const(Emitte
622 EmitDesignatedInitUpdater(ConstantEmitter &Emitter, ConstantAggregateBuilder &Const, CharUnits Offset, QualType Type, InitListExpr *Updater) argument
885 UpdateStruct(ConstantEmitter &Emitter, ConstantAggregateBuilder &Const, CharUnits Offset, InitListExpr *Updater) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h301 Const = 0x0001, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions
361 Const = 0x00000400, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions::PointerKind::PointerMode::PointerOptions
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp892 SizeOffsetType Const = Visitor.compute(V); local
893 if (Visitor.bothKnown(Const))
894 return std::make_pair(ConstantInt::get(Context, Const.first),
895 ConstantInt::get(Context, Const.second));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp1601 Constant *Const = nullptr; local
1615 Const = ConstantStruct::get(ST, ConstVals);
1621 Const =
1624 assert(Const && "Constant is nullptr here!");
1641 LLVM_DEBUG(dbgs() << " Constant: " << *Const << " = " << *V << '\n');
1644 V->replaceAllUsesWith(Const);
H A DMergeICmps.cpp375 const auto *const Const = dyn_cast<ConstantInt>(Val); local
377 if (!Const->isZero()) return {};
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp567 if (auto Const = dyn_cast<ConstantSDNode>(ImmOperand)) {
568 int64_t Offset1 = Const->getSExtValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp283 Optional<int64_t> Const; local
285 if ((Const = getIfConst(Add->getOperand(0))))
287 else if ((Const = getIfConst(Add->getOperand(1))))
293 int64_t Immediate = Const.getValue() << TypeScale;
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp192 bool Const; member in class:__anon2446::PointerType
195 PointerType(const Type *Pointee, bool Const) argument
196 : Type(TypeKind::Pointer), Pointee(Pointee), Const(Const) {}
208 if (Const)
1018 const PointerType *getPointerType(const Type *T, bool Const) {
1019 PointerType PT(T, Const);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp3230 assert(!(Quals & ~(Qualifiers::Const | Qualifiers::Volatile)) &&
3233 LookupSpecialMember(Class, CXXCopyConstructor, Quals & Qualifiers::Const,
3243 LookupSpecialMember(Class, CXXMoveConstructor, Quals & Qualifiers::Const,
3272 assert(!(Quals & ~(Qualifiers::Const | Qualifiers::Volatile)) &&
3274 assert(!(ThisQuals & ~(Qualifiers::Const | Qualifiers::Volatile)) &&
3277 LookupSpecialMember(Class, CXXCopyAssignment, Quals & Qualifiers::Const,
3279 ThisQuals & Qualifiers::Const,
3290 assert(!(ThisQuals & ~(Qualifiers::Const | Qualifiers::Volatile)) &&
3293 LookupSpecialMember(Class, CXXMoveAssignment, Quals & Qualifiers::Const,
3295 ThisQuals & Qualifiers::Const,
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5493 template <bool Const> class AssociationIteratorTy;
5495 /// The Const template parameter is for the const and non-const versions
5497 template <bool Const> class AssociationTy {
5500 using ExprPtrTy = std::conditional_t<Const, const Expr *, Expr *>;
5502 std::conditional_t<Const, const TypeSourceInfo *, TypeSourceInfo *>;
5522 template <bool Const>
5525 AssociationIteratorTy<Const>, std::input_iterator_tag,
5526 AssociationTy<Const>, std::ptrdiff_t, AssociationTy<Const>,
5527 AssociationTy<Const>> {
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp81 PUSH_FLAG(PointerOptions, Const, Options, "const");
92 PUSH_FLAG(ModifierOptions, Const, Options, "const");

Completed in 279 milliseconds

123