Home
last modified time | relevance | path

Searched refs:RV (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
DStaticSymmetry.h142 …template<typename Op, typename RV, std::size_t SGNumIndices, typename Index, std::size_t NumIndice…
143 static inline RV run(const std::array<Index, NumIndices>& idx, RV initial, Args&&... args)
148 …return tensor_static_symgroup_do_apply<internal::type_list<next...>>::template run<Op, RV, SGNumIn…
151 template<typename Op, typename RV, std::size_t SGNumIndices, typename Index, typename... Args>
152 static inline RV run(const std::vector<Index>& idx, RV initial, Args&&... args)
156 …return tensor_static_symgroup_do_apply<internal::type_list<next...>>::template run<Op, RV, SGNumIn…
163 …template<typename Op, typename RV, std::size_t SGNumIndices, typename Index, std::size_t NumIndice…
164 static inline RV run(const std::array<Index, NumIndices>&, RV initial, Args&&...)
170 template<typename Op, typename RV, std::size_t SGNumIndices, typename Index, typename... Args>
171 static inline RV run(const std::vector<Index>&, RV initial, Args&&...)
[all …]
DDynamicSymmetry.h33 template<typename Op, typename RV, typename Index, std::size_t N, typename... Args>
34 inline RV apply(const std::array<Index, N>& idx, RV initial, Args&&... args) const in apply()
42 template<typename Op, typename RV, typename Index, typename... Args>
43 inline RV apply(const std::vector<Index>& idx, RV initial, Args&&... args) const in apply()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dstore-imm-amode.ll17 ; CHECK: [[RV:r[0-9]+]] = #255
18 ; CHECK: memb(r0+r1<<#0) = [[RV]]
26 ; CHECK: [[RV:r[0-9]+]] = #255
27 ; CHECK: memb(r0+##var_i8) = [[RV]]
35 ; CHECK: [[RV:r[0-9]+]] = #255
36 ; CHECK: memb(r0<<#2+##var_i8) = [[RV]]
54 ; CHECK: [[RV:r[0-9]+]] = ##65535
55 ; CHECK: memh(r0+r1<<#1) = [[RV]]
63 ; CHECK: [[RV:r[0-9]+]] = ##65535
64 ; CHECK: memh(r0<<#1+##var_i16) = [[RV]]
[all …]
/external/llvm/lib/TableGen/
DRecord.cpp341 static Init *fixBitInit(const RecordVal *RV, Init *Before, Init *After) { in fixBitInit() argument
342 if (RV || !isa<UnsetInit>(After)) in fixBitInit()
350 Init *BitsInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
367 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
377 CurBitVar = CurBitVar->resolveReferences(R, RV); in resolveReferences()
385 NewBits[i] = fixBitInit(RV, CurBit, Bit); in resolveReferences()
556 Init *ListInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
566 CurElt = CurElt->resolveReferences(R, RV); in resolveReferences()
669 if (const RecordVal *RV = CurRec->getValue(Name)) { in Fold() local
670 if (RV->getType() != getType()) in Fold()
[all …]
DTGParser.cpp58 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { in AddValue() argument
62 if (RecordVal *ERV = CurRec->getValue(RV.getNameInit())) { in AddValue()
64 if (ERV->setValue(RV.getValue())) in AddValue()
65 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" + in AddValue()
66 RV.getType()->getAsString() + "' is incompatible with " + in AddValue()
70 CurRec->addValue(RV); in AddValue()
84 RecordVal *RV = CurRec->getValue(ValName); in SetValue() local
85 if (!RV) in SetValue()
101 BitsInit *CurVal = dyn_cast<BitsInit>(RV->getValue()); in SetValue()
132 if (RV->setValue(V)) { in SetValue()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp520 Init *BitsInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
530 CurBit = CurBit->resolveReferences(R, RV); in resolveReferences()
643 Init *ListInit::resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences()
654 CurElt = CurElt->resolveReferences(R, RV); in resolveReferences()
757 if (const RecordVal *RV = CurRec->getValue(Name)) { in Fold() local
758 if (RV->getType() != getType()) in Fold()
760 return VarInit::get(Name, RV->getType()); in Fold()
765 const RecordVal *RV = CurRec->getValue(TemplateArgName); in Fold() local
766 assert(RV && "Template arg doesn't exist??"); in Fold()
768 if (RV->getType() != getType()) in Fold()
[all …]
DTGParser.cpp63 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { in AddValue() argument
67 if (RecordVal *ERV = CurRec->getValue(RV.getName())) { in AddValue()
69 if (ERV->setValue(RV.getValue())) in AddValue()
70 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" + in AddValue()
71 RV.getType()->getAsString() + "' is incompatible with " + in AddValue()
75 CurRec->addValue(RV); in AddValue()
88 RecordVal *RV = CurRec->getValue(ValName); in SetValue() local
89 if (RV == 0) in SetValue()
104 BitsInit *CurVal = dynamic_cast<BitsInit*>(RV->getValue()); in SetValue()
137 if (RV->setValue(V)) in SetValue()
[all …]
/external/tensorflow/tensorflow/cc/gradients/
Dmath_grad_test.cc211 float RV(const std::vector<float>& v) { in RV() function in tensorflow::__anon694ef3b40111::CWiseUnaryGradTest
227 auto x_fn = [this](const int i) { return RV({-1, 0, 1}); }; in TEST_F()
232 auto x_fn = [this](const int i) { return RV({-1, 0, 1}); }; in TEST_F()
237 auto x_fn = [this](const int i) { return RV({-1, 1, -2, 2, -3, 3, -4, 4}); }; in TEST_F()
247 auto x_fn = [this](const int i) { return RV({0, -1, 1, -2, 2, -3, 3}); }; in TEST_F()
257 auto x_fn = [this](const int i) { return RV({0.5, 1, 2, 3, 4, 5, 6, 7}); }; in TEST_F()
269 auto x_fn = [this](const int i) { return RV({1, 2, 3, 4, 5, 6, 7, 8}); }; in TEST_F()
282 return RV({0, -1, 1, -1.5f, 1.5f, -2, 2}); in TEST_F()
293 auto x_fn = [this](const int i) { return RV({0, -1, 1e-6, 1, -1.5, 1.5}); }; in TEST_F()
305 auto x_fn = [this](const int i) { return RV({0.5, 1, 2, 3, 4}); }; in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h554 virtual Init *getFieldInit(Record &R, const RecordVal *RV, in getFieldInit() argument
564 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences() argument
603 virtual Init *resolveBitReference(Record &R, const RecordVal *RV,
609 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
695 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
726 virtual Init *resolveBitReference(Record &R, const RecordVal *RV, in resolveBitReference() argument
735 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
770 virtual Init *resolveBitReference(Record &R, const RecordVal *RV, in resolveBitReference() argument
779 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
846 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const;
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h350 virtual Init *getFieldInit(Record &R, const RecordVal *RV, in getFieldInit() argument
360 virtual Init *resolveReferences(Record &R, const RecordVal *RV) const { in resolveReferences() argument
422 virtual Init *resolveListElementReference(Record &R, const RecordVal *RV,
521 Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
526 Init *resolveReferences(Record &R, const RecordVal *RV) const override;
562 Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
600 Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
639 Init *resolveListElementReference(Record &R, const RecordVal *RV, in resolveListElementReference() argument
693 Init *resolveReferences(Record &R, const RecordVal *RV) const override;
710 Init *resolveListElementReference(Record &R, const RecordVal *RV,
[all …]
/external/clang/lib/CodeGen/
DCGCUDABuiltin.cpp88 [](const CallArg &A) { return !A.RV.isScalar(); })) { in EmitCUDADevicePrintfCallExpr()
101 ArgTypes.push_back(Args[I].RV.getScalarVal()->getType()); in EmitCUDADevicePrintfCallExpr()
107 llvm::Value *Arg = Args[I].RV.getScalarVal(); in EmitCUDADevicePrintfCallExpr()
116 Builder.CreateCall(VprintfFunc, {Args[0].RV.getScalarVal(), BufferPtr})); in EmitCUDADevicePrintfCallExpr()
DCGCall.cpp986 QualType Ty, RValue RV, llvm::FunctionType *IRFuncTy, in ExpandTypeToArgs() argument
990 forConstantArrayExpansion(*this, CAExp, RV.getAggregateAddress(), in ExpandTypeToArgs()
997 Address This = RV.getAggregateAddress(); in ExpandTypeToArgs()
1017 ComplexPairTy CV = RV.getComplexVal(); in ExpandTypeToArgs()
1022 assert(RV.isScalar() && in ExpandTypeToArgs()
1026 llvm::Value *V = RV.getScalarVal(); in ExpandTypeToArgs()
2680 llvm::Value *RV = nullptr; in EmitFunctionEpilog() local
2695 RV = Builder.CreateAlignedLoad(SRet, getPointerAlign(), "sret"); in EmitFunctionEpilog()
2740 RV = SI->getValueOperand(); in EmitFunctionEpilog()
2754 RV = Builder.CreateLoad(ReturnValue); in EmitFunctionEpilog()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DFixedAddressChecker.cpp48 SVal RV = state->getSVal(B->getRHS(), C.getLocationContext()); in checkPreStmt() local
50 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DJSONBackend.cpp148 for (const RecordVal &RV : Def.getValues()) { in run() local
149 if (!Def.isTemplateArg(RV.getNameInit())) { in run()
150 auto Name = RV.getNameInitAsString(); in run()
151 if (RV.getPrefix()) in run()
153 obj[Name] = translateInit(*RV.getValue()); in run()
DTGParser.cpp72 static bool checkBitsConcrete(Record &R, const RecordVal &RV) { in checkBitsConcrete() argument
73 BitsInit *BV = cast<BitsInit>(RV.getValue()); in checkBitsConcrete()
92 for (const RecordVal &RV : R.getValues()) { in checkConcrete() local
97 if (RV.getPrefix()) in checkConcrete()
100 if (Init *V = RV.getValue()) { in checkConcrete()
101 bool Ok = isa<BitsInit>(V) ? checkBitsConcrete(R, RV) : V->isConcrete(); in checkConcrete()
104 Twine("Initializer of '") + RV.getNameInitAsString() + in checkConcrete()
107 RV.getValue()->getAsString()); in checkConcrete()
141 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { in AddValue() argument
145 if (RecordVal *ERV = CurRec->getValue(RV.getNameInit())) { in AddValue()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenRegisters.cpp216 RecordVal RV = Proto->getValues()[i]; in expand() local
219 if (RV.getName() == "SubRegs") in expand()
220 RV.setValue(ListInit::get(Tuple, RegisterRecTy)); in expand()
223 if (RV.getName() == "AsmName") in expand()
224 RV.setValue(BlankName); in expand()
227 if (RV.getName() == "CostPerUse") in expand()
228 RV.setValue(IntInit::get(CostPerUse)); in expand()
231 if (RV.getName() == "SubRegIndices" || in expand()
232 RV.getName() == "CompositeIndices") { in expand()
233 NewReg->addValue(*Def->getValue(RV.getName())); in expand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeEmitterGen.cpp199 for (const RecordVal &RV : R->getValues()) { in getInstructionCase() local
201 if (!CGI.Operands.hasOperandNamed(RV.getName(), OpIdx)) in getInstructionCase()
210 for (const RecordVal &RV : R->getValues()) { in getInstructionCase() local
213 if (RV.getPrefix() || RV.getValue()->isComplete()) in getInstructionCase()
216 AddCodeToMergeInOperand(R, BI, RV.getName(), NumberedOp, in getInstructionCase()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMips16HardFloat.cpp279 FPReturnVariant RV = whichFPReturnVariant(FStub->getReturnType()); in assureFPCallStub() local
285 if (RV != NoFPRet) { in assureFPCallStub()
293 switch (RV) { in assureFPCallStub()
337 if (RV != NoFPRet) in assureFPCallStub()
394 FPReturnVariant RV = whichFPReturnVariant(T); in fixupFPReturnAndCall() local
395 if (RV == NoFPRet) continue; in fixupFPReturnAndCall()
400 const char *Name = Helper[RV]; in fixupFPReturnAndCall()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp285 FPReturnVariant RV = whichFPReturnVariant(FStub->getReturnType()); in assureFPCallStub() local
291 if (RV != NoFPRet) { in assureFPCallStub()
299 switch (RV) { in assureFPCallStub()
343 if (RV != NoFPRet) in assureFPCallStub()
403 FPReturnVariant RV = whichFPReturnVariant(T); in fixupFPReturnAndCall() local
404 if (RV == NoFPRet) continue; in fixupFPReturnAndCall()
409 const char *Name = Helper[RV]; in fixupFPReturnAndCall()
/external/libcxxabi/test/
Dcxa_thread_atexit_test.pass.cpp28 int RV = __cxxabiv1::__cxa_thread_atexit( in main() local
31 assert(RV == 4); in main()
/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp154 Value *RV = RetVals[i]; in PropagateConstantReturn() local
155 if (!RV) in PropagateConstantReturn()
172 if (isa<UndefValue>(RV)) { in PropagateConstantReturn()
178 if (RV == V) in PropagateConstantReturn()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DIPConstantPropagation.cpp182 Value *RV = RetVals[i]; in PropagateConstantReturn() local
183 if (!RV) in PropagateConstantReturn()
200 if (isa<UndefValue>(RV)) { in PropagateConstantReturn()
206 if (RV == V) in PropagateConstantReturn()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp160 Value *RV = RetVals[i]; in PropagateConstantReturn() local
161 if (!RV) in PropagateConstantReturn()
178 if (isa<UndefValue>(RV)) { in PropagateConstantReturn()
184 if (RV == V) in PropagateConstantReturn()
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/
D2004-05-09-LiveVarPartialRegister.ll10 %RV = sub i32 1, %cast2 ; <i32> [#uses=1]
11 ret i32 %RV
/external/llvm/test/CodeGen/Generic/
D2004-05-09-LiveVarPartialRegister.ll10 %RV = sub i32 1, %cast2 ; <i32> [#uses=1]
11 ret i32 %RV

12345678910>>...16