Home
last modified time | relevance | path

Searched refs:Exp (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/external/libcxx/test/std/containers/sequences/array/array.tuple/
Dtuple_element.pass.cpp21 typedef T Exp; in test() typedef
23 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
24 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
25 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
28 typedef T const Exp; in test() typedef
30 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
31 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
32 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
35 typedef T volatile Exp; in test() typedef
37 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
[all …]
/external/llvm-project/libcxx/test/std/containers/sequences/array/array.tuple/
Dtuple_element.pass.cpp22 typedef T Exp; in test() typedef
24 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
25 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
26 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
29 typedef T const Exp; in test() typedef
31 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
32 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
33 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
36 typedef T volatile Exp; in test() typedef
38 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
[all …]
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp146 const Stmt *ExprMutationAnalyzer::findMutation(const Expr *Exp) { in findMutation() argument
147 return findMutationMemoized(Exp, in findMutation()
162 const Stmt *ExprMutationAnalyzer::findPointeeMutation(const Expr *Exp) { in findPointeeMutation() argument
163 return findMutationMemoized(Exp, {/*TODO*/}, PointeeResults); in findPointeeMutation()
171 const Expr *Exp, llvm::ArrayRef<MutationFinder> Finders, in findMutationMemoized() argument
173 const auto Memoized = MemoizedResults.find(Exp); in findMutationMemoized()
177 if (isUnevaluated(Exp)) in findMutationMemoized()
178 return MemoizedResults[Exp] = nullptr; in findMutationMemoized()
181 if (const Stmt *S = (this->*Finder)(Exp)) in findMutationMemoized()
182 return MemoizedResults[Exp] = S; in findMutationMemoized()
[all …]
DThreadSafety.cpp395 const Expr *Exp = nullptr; member
403 bool isReference() { return !Exp; } in isReference()
408 : Dec(D), Exp(E), Ctx(C) {} in VarDefinition()
446 if (VarDefinitions[i].Exp) { in lookupExpr()
448 return VarDefinitions[i].Exp; in lookupExpr()
486 const Expr *Exp = VarDefinitions[i].Exp; in dump() local
491 if (Exp) Exp->dump(); in dump()
528 Context addDefinition(const NamedDecl *D, const Expr *Exp, Context Ctx) { in addDefinition() argument
532 VarDefinitions.push_back(VarDefinition(D, Exp, Ctx)); in addDefinition()
546 Context updateDefinition(const NamedDecl *D, Expr *Exp, Context Ctx) { in updateDefinition() argument
[all …]
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DExprMutationAnalyzer.h28 bool isMutated(const Expr *Exp) { return findMutation(Exp) != nullptr; } in isMutated() argument
30 const Stmt *findMutation(const Expr *Exp);
33 bool isPointeeMutated(const Expr *Exp) { in isPointeeMutated() argument
34 return findPointeeMutation(Exp) != nullptr; in isPointeeMutated()
39 const Stmt *findPointeeMutation(const Expr *Exp);
46 const Stmt *findMutationMemoized(const Expr *Exp,
51 bool isUnevaluated(const Expr *Exp);
60 const Stmt *findDirectMutation(const Expr *Exp);
61 const Stmt *findMemberMutation(const Expr *Exp);
62 const Stmt *findArrayElementMutation(const Expr *Exp);
[all …]
DThreadSafetyLogical.h83 LExpr *Exp; variable
86 Not(LExpr *Exp) : LExpr(LExpr::Not), Exp(Exp) {} in Not() argument
88 const LExpr *exp() const { return Exp; } in exp()
89 LExpr *exp() { return Exp; } in exp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h634 uint8_t Exp = (Imm >> 4) & 0x7; in getFPImmFloat() local
643 I |= ((Exp & 0x4) != 0 ? 0 : 1) << 30; in getFPImmFloat()
644 I |= ((Exp & 0x4) != 0 ? 0x1f : 0) << 25; in getFPImmFloat()
645 I |= (Exp & 0x3) << 23; in getFPImmFloat()
655 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() local
665 if (Exp < -3 || Exp > 4) in getFP16Imm()
667 Exp = ((Exp+3) & 0x7) ^ 4; in getFP16Imm()
669 return ((int)Sign << 7) | (Exp << 4) | Mantissa; in getFP16Imm()
681 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() local
693 if (Exp < -3 || Exp > 4) in getFP32Imm()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h648 uint8_t Exp = (Imm >> 4) & 0x7; in getFPImmFloat() local
657 I |= ((Exp & 0x4) != 0 ? 0 : 1) << 30; in getFPImmFloat()
658 I |= ((Exp & 0x4) != 0 ? 0x1f : 0) << 25; in getFPImmFloat()
659 I |= (Exp & 0x3) << 23; in getFPImmFloat()
669 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() local
679 if (Exp < -3 || Exp > 4) in getFP16Imm()
681 Exp = ((Exp+3) & 0x7) ^ 4; in getFP16Imm()
683 return ((int)Sign << 7) | (Exp << 4) | Mantissa; in getFP16Imm()
707 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() local
719 if (Exp < -3 || Exp > 4) in getFP32Imm()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h659 uint8_t Exp = (Imm >> 4) & 0x7; in getFPImmFloat() local
669 FPUnion.I |= ((Exp & 0x4) != 0 ? 0 : 1) << 30; in getFPImmFloat()
670 FPUnion.I |= ((Exp & 0x4) != 0 ? 0x1f : 0) << 25; in getFPImmFloat()
671 FPUnion.I |= (Exp & 0x3) << 23; in getFPImmFloat()
681 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() local
691 if (Exp < -3 || Exp > 4) in getFP16Imm()
693 Exp = ((Exp+3) & 0x7) ^ 4; in getFP16Imm()
695 return ((int)Sign << 7) | (Exp << 4) | Mantissa; in getFP16Imm()
707 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() local
719 if (Exp < -3 || Exp > 4) in getFP32Imm()
[all …]
/external/clang/lib/Analysis/
DThreadSafety.cpp357 const Expr *Exp; // The expression for this variable, OR member
361 bool isReference() { return !Exp; } in isReference()
366 : Dec(D), Exp(E), Ref(0), Ctx(C) in VarDefinition()
371 : Dec(D), Exp(nullptr), Ref(R), Ctx(C) in VarDefinition()
406 if (VarDefinitions[i].Exp) { in lookupExpr()
408 return VarDefinitions[i].Exp; in lookupExpr()
446 const Expr *Exp = VarDefinitions[i].Exp; in dump() local
451 if (Exp) Exp->dump(); in dump()
486 Context addDefinition(const NamedDecl *D, const Expr *Exp, Context Ctx) { in addDefinition() argument
490 VarDefinitions.push_back(VarDefinition(D, Exp, Ctx)); in addDefinition()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DSMTAPI.h181 virtual void addConstraint(const SMTExprRef &Exp) const = 0;
214 virtual SMTExprRef mkBVNeg(const SMTExprRef &Exp) = 0;
217 virtual SMTExprRef mkBVNot(const SMTExprRef &Exp) = 0;
253 virtual SMTExprRef mkNot(const SMTExprRef &Exp) = 0;
269 virtual SMTExprRef mkBVSignExt(unsigned i, const SMTExprRef &Exp) = 0;
272 virtual SMTExprRef mkBVZeroExt(unsigned i, const SMTExprRef &Exp) = 0;
276 const SMTExprRef &Exp) = 0;
311 virtual SMTExprRef mkBVNegNoOverflow(const SMTExprRef &Exp) = 0;
325 virtual SMTExprRef mkFPNeg(const SMTExprRef &Exp) = 0;
328 virtual SMTExprRef mkFPIsInfinite(const SMTExprRef &Exp) = 0;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSMTAPI.h181 virtual void addConstraint(const SMTExprRef &Exp) const = 0;
214 virtual SMTExprRef mkBVNeg(const SMTExprRef &Exp) = 0;
217 virtual SMTExprRef mkBVNot(const SMTExprRef &Exp) = 0;
253 virtual SMTExprRef mkNot(const SMTExprRef &Exp) = 0;
269 virtual SMTExprRef mkBVSignExt(unsigned i, const SMTExprRef &Exp) = 0;
272 virtual SMTExprRef mkBVZeroExt(unsigned i, const SMTExprRef &Exp) = 0;
276 const SMTExprRef &Exp) = 0;
311 virtual SMTExprRef mkBVNegNoOverflow(const SMTExprRef &Exp) = 0;
325 virtual SMTExprRef mkFPNeg(const SMTExprRef &Exp) = 0;
328 virtual SMTExprRef mkFPIsInfinite(const SMTExprRef &Exp) = 0;
[all …]
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSMTConv.h41 const llvm::SMTExprRef &Exp) { in fromUnOp() argument
44 return Solver->mkBVNeg(Exp); in fromUnOp()
47 return Solver->mkBVNot(Exp); in fromUnOp()
50 return Solver->mkNot(Exp); in fromUnOp()
60 const llvm::SMTExprRef &Exp) { in fromFloatUnOp() argument
63 return Solver->mkFPNeg(Exp); in fromFloatUnOp()
66 return fromUnOp(Solver, Op, Exp); in fromFloatUnOp()
261 const llvm::SMTExprRef &Exp, in fromCast() argument
274 Exp, Solver->mkBitvector(llvm::APSInt("1"), ToBitWidth), in fromCast()
280 ? Solver->mkBVSignExt(ToBitWidth - FromBitWidth, Exp) in fromCast()
[all …]
DSMTConstraintManager.h50 llvm::SMTExprRef Exp = in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
58 SMTConv::getZeroExpr(Solver, Ctx, Exp, RetTy, !Assumption)); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
60 return assumeExpr(State, Sym, Assumption ? Exp : Solver->mkNot(Exp)); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
88 llvm::SMTExprRef Exp = in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
95 ConditionTruthVal isSat = checkModel(State, Sym, Exp); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
125 llvm::SMTExprRef Exp = SMTConv::fromData(Solver, Ctx, SD); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
136 if (!Solver->getInterpretation(Exp, Value)) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
141 Solver, Exp, BO_NE, in REGISTER_TRAIT_WITH_PROGRAMSTATE()
298 const llvm::SMTExprRef &Exp) { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
300 if (checkModel(State, Sym, Exp).isConstrainedTrue()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h350 uint8_t Exp = (Imm >> 4) & 0x7; in getFPImmFloat() local
360 FPUnion.I |= ((Exp & 0x4) != 0 ? 0 : 1) << 30; in getFPImmFloat()
361 FPUnion.I |= ((Exp & 0x4) != 0 ? 0x1f : 0) << 25; in getFPImmFloat()
362 FPUnion.I |= (Exp & 0x3) << 23; in getFPImmFloat()
372 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() local
382 if (Exp < -3 || Exp > 4) in getFP16Imm()
384 Exp = ((Exp+3) & 0x7) ^ 4; in getFP16Imm()
386 return ((int)Sign << 7) | (Exp << 4) | Mantissa; in getFP16Imm()
398 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() local
410 if (Exp < -3 || Exp > 4) in getFP32Imm()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DZ3Solver.cpp285 void addConstraint(const SMTExprRef &Exp) const override { in addConstraint()
286 Z3_solver_assert(Context.Context, Solver, toZ3Expr(*Exp).AST); in addConstraint()
298 SMTExprRef newExprRef(const SMTExpr &Exp) { in newExprRef() argument
299 auto It = CachedExprs.insert(toZ3Expr(Exp)); in newExprRef()
312 SMTSortRef getSort(const SMTExprRef &Exp) override { in getSort() argument
314 Z3Sort(Context, Z3_get_sort(Context.Context, toZ3Expr(*Exp).AST))); in getSort()
333 SMTExprRef mkBVNeg(const SMTExprRef &Exp) override { in mkBVNeg() argument
335 Z3Expr(Context, Z3_mk_bvneg(Context.Context, toZ3Expr(*Exp).AST))); in mkBVNeg()
338 SMTExprRef mkBVNot(const SMTExprRef &Exp) override { in mkBVNot() argument
340 Z3Expr(Context, Z3_mk_bvnot(Context.Context, toZ3Expr(*Exp).AST))); in mkBVNot()
[all …]
/external/llvm-project/llvm/lib/Support/
DZ3Solver.cpp286 void addConstraint(const SMTExprRef &Exp) const override { in addConstraint()
287 Z3_solver_assert(Context.Context, Solver, toZ3Expr(*Exp).AST); in addConstraint()
299 SMTExprRef newExprRef(const SMTExpr &Exp) { in newExprRef() argument
300 auto It = CachedExprs.insert(toZ3Expr(Exp)); in newExprRef()
313 SMTSortRef getSort(const SMTExprRef &Exp) override { in getSort() argument
315 Z3Sort(Context, Z3_get_sort(Context.Context, toZ3Expr(*Exp).AST))); in getSort()
334 SMTExprRef mkBVNeg(const SMTExprRef &Exp) override { in mkBVNeg() argument
336 Z3Expr(Context, Z3_mk_bvneg(Context.Context, toZ3Expr(*Exp).AST))); in mkBVNeg()
339 SMTExprRef mkBVNot(const SMTExprRef &Exp) override { in mkBVNot() argument
341 Z3Expr(Context, Z3_mk_bvnot(Context.Context, toZ3Expr(*Exp).AST))); in mkBVNot()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h347 uint8_t Exp = (Imm >> 4) & 0x7; in getFPImmFloat() local
357 I |= ((Exp & 0x4) != 0 ? 0 : 1) << 30; in getFPImmFloat()
358 I |= ((Exp & 0x4) != 0 ? 0x1f : 0) << 25; in getFPImmFloat()
359 I |= (Exp & 0x3) << 23; in getFPImmFloat()
369 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() local
379 if (Exp < -3 || Exp > 4) in getFP16Imm()
381 Exp = ((Exp+3) & 0x7) ^ 4; in getFP16Imm()
383 return ((int)Sign << 7) | (Exp << 4) | Mantissa; in getFP16Imm()
395 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() local
407 if (Exp < -3 || Exp > 4) in getFP32Imm()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h347 uint8_t Exp = (Imm >> 4) & 0x7; in getFPImmFloat() local
357 I |= ((Exp & 0x4) != 0 ? 0 : 1) << 30; in getFPImmFloat()
358 I |= ((Exp & 0x4) != 0 ? 0x1f : 0) << 25; in getFPImmFloat()
359 I |= (Exp & 0x3) << 23; in getFPImmFloat()
369 int32_t Exp = (Imm.lshr(10).getSExtValue() & 0x1f) - 15; // -14 to 15 in getFP16Imm() local
379 if (Exp < -3 || Exp > 4) in getFP16Imm()
381 Exp = ((Exp+3) & 0x7) ^ 4; in getFP16Imm()
383 return ((int)Sign << 7) | (Exp << 4) | Mantissa; in getFP16Imm()
395 int32_t Exp = (Imm.lshr(23).getSExtValue() & 0xff) - 127; // -126 to 127 in getFP32Imm() local
407 if (Exp < -3 || Exp > 4) in getFP32Imm()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyLogical.h84 LExpr *Exp; variable
87 Not(LExpr *Exp) : LExpr(LExpr::Not), Exp(Exp) {} in Not() argument
89 const LExpr *exp() const { return Exp; } in exp()
90 LExpr *exp() { return Exp; } in exp()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DScalarEvolutionExpanderTest.cpp120 SCEVExpander Exp(SE, M.getDataLayout(), "expander"); in TEST_F() local
122 Exp.expandCodeFor(cast<SCEVAddExpr>(S)->getOperand(1), nullptr, Br); in TEST_F()
204 SCEVExpander Exp(SE, NIM.getDataLayout(), "expander"); in TEST_F() local
205 Exp.disableCanonicalMode(); in TEST_F()
206 Exp.expandCodeFor(AddRec, T_pint64, Ret); in TEST_F()
284 SCEVExpander Exp(SE, M.getDataLayout(), "expander"); in TEST_F() local
285 Exp.expandCodeFor(SE.getSCEV(Add), nullptr, Ret); in TEST_F()
336 SCEVExpander Exp(SE, M.getDataLayout(), "expander"); in TEST_F() local
337 auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R)); in TEST_F()
388 SCEVExpander Exp(SE, M.getDataLayout(), "expander"); in TEST_F() local
[all …]
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dgpu_op_exp.cc21 GENERATE_AND_REGISTER_UNARY_GPU_KERNEL(Exp, DT_HALF);
22 GENERATE_AND_REGISTER_UNARY_GPU_KERNEL(Exp, DT_FLOAT);
23 GENERATE_AND_REGISTER_UNARY_GPU_KERNEL(Exp, DT_DOUBLE);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/
DSupportHelpers.h30 ExpectedHolder(ErrorHolder Err, Expected<T> &Exp) in ExpectedHolder()
31 : ErrorHolder(std::move(Err)), Exp(Exp) {} in ExpectedHolder()
33 Expected<T> &Exp; member
53 *Out << "succeeded with value " << ::testing::PrintToString(*Item.Exp); in PrintTo()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhlo_extractor_test.cc46 op::Exp(op::Negate(op::Parameter(0)))); in TEST_F()
53 op::Exp(op::Parameter(0))); in TEST_F()
84 op::Exp(op::Negate(op::Tanh(op::Parameter(0))))); in TEST_F()
98 op::Exp(op::Negate(op::Parameter(0))))); in TEST_F()
105 op::Exp(op::Negate(op::Tanh(op::Parameter(0)))))); in TEST_F()
/external/clang/lib/ARCMigrate/
DTransARCAssign.cpp42 bool VisitBinaryOperator(BinaryOperator *Exp) { in VisitBinaryOperator() argument
43 if (Exp->getType()->isDependentType()) in VisitBinaryOperator()
46 Expr *E = Exp->getLHS(); in VisitBinaryOperator()
59 Exp->getOperatorLoc())) { in VisitBinaryOperator()

12345678910>>...15