Home
last modified time | relevance | path

Searched refs:OC (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/external/llvm/tools/llvm-readobj/
DARMWinEHPrinter.cpp227 bool Decoder::opcode_0xxxxxxx(const uint8_t *OC, unsigned &Offset, in opcode_0xxxxxxx() argument
229 uint8_t Imm = OC[Offset] & 0x7f; in opcode_0xxxxxxx()
231 OC[Offset], in opcode_0xxxxxxx()
238 bool Decoder::opcode_10Lxxxxx(const uint8_t *OC, unsigned &Offset, in opcode_10Lxxxxx() argument
240 unsigned Link = (OC[Offset] & 0x20) >> 5; in opcode_10Lxxxxx()
242 | ((OC[Offset + 0] & 0x1f) << 8) in opcode_10Lxxxxx()
243 | ((OC[Offset + 1] & 0xff) << 0); in opcode_10Lxxxxx()
248 OC[Offset + 0], OC[Offset + 1], in opcode_10Lxxxxx()
257 bool Decoder::opcode_1100xxxx(const uint8_t *OC, unsigned &Offset, in opcode_1100xxxx() argument
261 OC[Offset], OC[Offset] & 0xf); in opcode_1100xxxx()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DARMWinEHPrinter.cpp227 bool Decoder::opcode_0xxxxxxx(const uint8_t *OC, unsigned &Offset, in opcode_0xxxxxxx() argument
229 uint8_t Imm = OC[Offset] & 0x7f; in opcode_0xxxxxxx()
231 OC[Offset], in opcode_0xxxxxxx()
238 bool Decoder::opcode_10Lxxxxx(const uint8_t *OC, unsigned &Offset, in opcode_10Lxxxxx() argument
240 unsigned Link = (OC[Offset] & 0x20) >> 5; in opcode_10Lxxxxx()
242 | ((OC[Offset + 0] & 0x1f) << 8) in opcode_10Lxxxxx()
243 | ((OC[Offset + 1] & 0xff) << 0); in opcode_10Lxxxxx()
248 OC[Offset + 0], OC[Offset + 1], in opcode_10Lxxxxx()
257 bool Decoder::opcode_1100xxxx(const uint8_t *OC, unsigned &Offset, in opcode_1100xxxx() argument
261 OC[Offset], OC[Offset] & 0xf); in opcode_1100xxxx()
[all …]
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVOpCode.h134 unsigned OC = OpCode; in hasExecScope() local
135 return (OpGroupWaitEvents <= OC && in hasExecScope()
136 OC <= OpGroupSMax) || in hasExecScope()
137 (OpGroupReserveReadPipePackets <= OC && in hasExecScope()
138 OC <= OpGroupCommitWritePipe); in hasExecScope()
142 unsigned OC = OpCode; in hasGroupOperation() local
143 return OpGroupIAdd <= OC && OC <= OpGroupSMax; in hasGroupOperation()
147 unsigned OC = OpCode; in isGroupOpCode() local
148 return OpGroupAll <= OC && OC <= OpGroupSMax; in isGroupOpCode()
152 unsigned OC = OpCode; in isPipeOpCode() local
[all …]
DSPIRVDecorate.h55 SPIRVDecorateGeneric(Op OC, SPIRVWord WC, Decoration TheDec,
58 SPIRVDecorateGeneric(Op OC, SPIRVWord WC, Decoration TheDec,
61 SPIRVDecorateGeneric(Op OC);
129 static const Op OC = OpDecorate;
133 :SPIRVDecorateGeneric(OC, 3, TheDec, TheTarget){} in SPIRVDecorate()
136 :SPIRVDecorateGeneric(OC, 4, TheDec, TheTarget, V){} in SPIRVDecorate()
138 SPIRVDecorate():SPIRVDecorateGeneric(OC){} in SPIRVDecorate()
199 static const Op OC = OpMemberDecorate;
204 :SPIRVDecorateGeneric(OC, 4, TheDec, TheTarget), in SPIRVMemberDecorate()
210 :SPIRVDecorateGeneric(OC, 5, TheDec, TheTarget, V), in SPIRVMemberDecorate()
[all …]
DSPIRVValue.h194 template<Op OC>
199 :SPIRVValue(M, 3, OC, TheType, TheId){ in SPIRVConstantEmpty()
203 SPIRVConstantEmpty():SPIRVValue(OC){} in SPIRVConstantEmpty()
211 template<Op OC>
212 class SPIRVConstantBool: public SPIRVConstantEmpty<OC> {
216 :SPIRVConstantEmpty<OC>(M, TheType, TheId){} in SPIRVConstantBool()
221 SPIRVConstantEmpty<OC>::validate(); in validate()
303 const static Op OC = OpConstantSampler;
308 :SPIRVValue(M, WC, OC, TheType, TheId), AddrMode(TheAddrMode), in SPIRVConstantSampler()
313 SPIRVConstantSampler():SPIRVValue(OC), AddrMode(SPIRVSAM_Invalid), in SPIRVConstantSampler()
[all …]
DSPIRVInstruction.h67 bool isSpecConstantOpAllowedOp(Op OC);
206 SPIRVInstTemplateBase(Op OC = OpNop)
207 :SPIRVInstruction(OC), HasVariWC(false){ in SPIRVInstruction() argument
225 virtual void initImpl(Op OC, bool HasId = true, SPIRVWord WC = 0,
228 OpCode = OC;
392 Op OC = OpNop,
407 this->initImpl(OC, HasId, WC, HasVariableWC, Literal1, Literal2, Literal3); in init()
655 template<Op OC>
656 class SPIRVBinaryInst:public SPIRVInstTemplate<SPIRVBinary, OC, true, 5, false> {
711 static const Op OC = OpReturnValue;
[all …]
DSPIRVType.h130 static const Op OC = OpTypeInt;
134 :SPIRVType(M, 4, OC , TheId), BitWidth(TheBitWidth), in SPIRVTypeInt()
139 SPIRVTypeInt():SPIRVType(OC), BitWidth(0), IsSigned(false){} in SPIRVTypeInt()
165 static const Op OC = OpTypeFloat;
168 :SPIRVType(M, 3, OC, TheId), BitWidth(TheBitWidth){} in SPIRVTypeFloat()
170 SPIRVTypeFloat():SPIRVType(OC), BitWidth(0){} in SPIRVTypeFloat()
391 const static Op OC = OpTypeImage;
395 :SPIRVType(M, FixedWC, OC, TheId), SampledType(TheSampledType), in SPIRVTypeImage()
401 :SPIRVType(M, FixedWC + 1, OC, TheId), SampledType(TheSampledType), in SPIRVTypeImage()
406 SPIRVTypeImage():SPIRVType(OC), SampledType(SPIRVID_INVALID), Desc(){ in SPIRVTypeImage()
[all …]
DSPIRVInstruction.cpp138 isSpecConstantOpAllowedOp(Op OC) { in isSpecConstantOpAllowedOp() argument
202 return Allow.count(OC); in isSpecConstantOpAllowedOp()
207 auto OC = Inst->getOpCode(); in createSpecConstantOpInst() local
208 assert (isSpecConstantOpAllowedOp(OC) && in createSpecConstantOpInst()
211 Ops.insert(Ops.begin(), OC); in createSpecConstantOpInst()
222 auto OC = static_cast<Op>(Ops[0]); in createInstFromSpecConstantOp() local
223 assert (isSpecConstantOpAllowedOp(OC) && in createInstFromSpecConstantOp()
226 return SPIRVInstTemplateBase::create(OC, Inst->getType(), in createInstFromSpecConstantOp()
DSPIRVEntry.h371 SPIRVEntryNoIdGeneric(SPIRVModule *M, unsigned TheWordCount, Op OC) in SPIRVEntryNoIdGeneric() argument
372 :SPIRVEntry(M, TheWordCount, OC){ in SPIRVEntryNoIdGeneric()
375 SPIRVEntryNoIdGeneric(Op OC):SPIRVEntry(OC){ in SPIRVEntryNoIdGeneric() argument
384 template<Op OC>
388 :SPIRVEntryNoIdGeneric(M, TheWordCount, OC){} in SPIRVEntryNoId()
389 SPIRVEntryNoId():SPIRVEntryNoIdGeneric(OC){} in SPIRVEntryNoId()
409 SPIRVAnnotationGeneric(SPIRVModule *TheModule, unsigned TheWordCount, Op OC,
411 : SPIRVEntryNoIdGeneric(TheModule, TheWordCount, OC), Target(TheTarget) {} in SPIRVEntryNoIdGeneric() argument
413 SPIRVAnnotationGeneric(Op OC):SPIRVEntryNoIdGeneric(OC), in SPIRVAnnotationGeneric() argument
423 template<Op OC>
[all …]
DSPIRVDecorate.cpp54 SPIRVDecorateGeneric::SPIRVDecorateGeneric(Op OC, SPIRVWord WC, in SPIRVDecorateGeneric() argument
57 : SPIRVAnnotationGeneric(TheTarget->getModule(), WC, OC, in SPIRVDecorateGeneric()
64 SPIRVDecorateGeneric::SPIRVDecorateGeneric(Op OC, SPIRVWord WC, in SPIRVDecorateGeneric() argument
68 : SPIRVAnnotationGeneric(TheTarget->getModule(), WC, OC, in SPIRVDecorateGeneric()
76 SPIRVDecorateGeneric::SPIRVDecorateGeneric(Op OC) in SPIRVDecorateGeneric() argument
77 :SPIRVAnnotationGeneric(OC), Dec(DecorationRelaxedPrecision), Owner(nullptr){ in SPIRVDecorateGeneric()
/external/spirv-llvm/lib/SPIRV/
DSPIRVToOCL20.cpp90 void visitCallSPIRVAtomicBuiltin(CallInst *CI, Op OC);
107 void visitCallSPIRVGroupBuiltin(CallInst *CI, Op OC);
115 void visitCallSPIRVPipeBuiltin(CallInst *CI, Op OC);
119 void visitCallSPIRVBuiltin(CallInst *CI, Op OC);
167 Op OC = OpNop; in visitCallInst() local
169 (OC = getSPIRVFuncOC(DemangledName)) == OpNop) in visitCallInst()
172 << "OpCode = " << OC << '\n'); in visitCallInst()
174 if (OC == OpImageQuerySize || OC == OpImageQuerySizeLod) { in visitCallInst()
178 if (OC == OpMemoryBarrier) { in visitCallInst()
182 if (isAtomicOpCode(OC)) { in visitCallInst()
[all …]
DOCL21ToSPIRV.cpp73 void visitCallConvert(CallInst *CI, StringRef MangledName, Op OC);
90 void transBuiltin(CallInst *CI, Op OC);
163 Op OC = OpNop; in visitCallInst() local
164 if (!OpCodeNameMap::rfind(Ref.str(), &OC)) in visitCallInst()
166 DEBUG(dbgs() << "maps to opcode " << OC << '\n'); in visitCallInst()
168 if (isCvtOpCode(OC)) { in visitCallInst()
169 visitCallConvert(&CI, MangledName, OC); in visitCallInst()
172 if (OC == OpDecorate) { in visitCallInst()
176 transBuiltin(&CI, OC); in visitCallInst()
180 StringRef MangledName, Op OC) { in visitCallConvert() argument
[all …]
DSPIRVRegularizeLLVM.cpp81 void lowerFuncPtr(Function *F, Op OC);
173 void SPIRVRegularizeLLVM::lowerFuncPtr(Function* F, Op OC) { in lowerFuncPtr() argument
175 auto Name = decorateSPIRVFunction(getName(OC)); in lowerFuncPtr()
199 auto OC = getSPIRVFuncOC(F->getName()); in lowerFuncPtr() local
200 assert(OC != OpNop && "Invalid function pointer usage"); in lowerFuncPtr()
201 Work.push_back(std::make_pair(F, OC)); in lowerFuncPtr()
DSPIRVReader.cpp759 auto OC = T->getOpCode(); in transType() local
760 if (isOpaqueGenericTypeOpCode(OC)) in transType()
762 OCLOpaqueTypeOpCodeMap::rmap(OC), in transType()
763 getOCLOpaqueTypeAddrSpace(OC))); in transType()
868 auto OC = BI->getOpCode(); in isSPIRVCmpInstTransToLLVMInst() local
869 return isCmpOpCode(OC) && in isSPIRVCmpInstTransToLLVMInst()
870 !(OC >= OpLessOrGreater && OC <= OpUnordered); in isSPIRVCmpInstTransToLLVMInst()
877 auto OC = cast<Instruction>(V)->getOpcode(); in transFlags() local
878 if (OC == Instruction::AShr || OC == Instruction::LShr) { in transFlags()
1325 auto OC = BV->getOpCode(); in transValueWithoutDecoration() local
[all …]
DOCL20ToSPIRV.cpp127 void visitCallAllAny(spv::Op OC, CallInst *CI);
614 OCL20ToSPIRV::visitCallAllAny(spv::Op OC, CallInst* CI) { in visitCallAllAny() argument
638 return getSPIRVFuncName(OC); in visitCallAllAny()
831 Op OC = OpNop; in visitCallConvert() local
854 OC = Signed ? OpSatConvertSToU : OpSatConvertUToS; in visitCallConvert()
857 OC = Signed ? OpSConvert : OpUConvert; in visitCallConvert()
859 OC = Signed ? OpConvertSToF : OpConvertUToF; in visitCallConvert()
862 OC = TargetSigned ? OpConvertFToS : OpConvertFToU; in visitCallConvert()
864 OC = OpFConvert; in visitCallConvert()
874 return getSPIRVFuncName(OC, TargetTyName + Sat + Rounding); in visitCallConvert()
[all …]
DSPIRVWriter.cpp208 Op transBoolOpCode(SPIRVValue *Opn, Op OC);
297 SPIRVInstruction *transBuiltinToInstWithoutDecoration(Op OC,
1440 auto OC = getSPIRVFuncOC(DemangledName, &Dec); in transBuiltinToInst() local
1442 if (OC == OpNop) in transBuiltinToInst()
1445 auto Inst = transBuiltinToInstWithoutDecoration(OC, CI, BB); in transBuiltinToInst()
1586 LLVMToSPIRV::transBoolOpCode(SPIRVValue* Opn, Op OC) { in transBoolOpCode() argument
1588 return OC; in transBoolOpCode()
1589 IntBoolOpMap::find(OC, &OC); in transBoolOpCode()
1590 return OC; in transBoolOpCode()
1594 LLVMToSPIRV::transBuiltinToInstWithoutDecoration(Op OC, in transBuiltinToInstWithoutDecoration() argument
[all …]
/external/libcxx/test/std/experimental/memory/memory.resource.aliases/
Dheader_set_synop.pass.cpp38 using OC = std::greater<V>; in main() typedef
45 using StdSet = std::set<V, OC, pmr::polymorphic_allocator<V>>; in main()
46 using PmrSet = pmr::set<V, OC>; in main()
59 using StdSet = std::multiset<V, OC, pmr::polymorphic_allocator<V>>; in main()
60 using PmrSet = pmr::multiset<V, OC>; in main()
Dheader_map_synop.pass.cpp39 using OC = std::greater<int>; in main() typedef
47 using StdMap = std::map<K, V, OC, pmr::polymorphic_allocator<P>>; in main()
48 using PmrMap = pmr::map<K, V, OC>; in main()
61 using StdMap = std::multimap<K, V, OC, pmr::polymorphic_allocator<P>>; in main()
62 using PmrMap = pmr::multimap<K, V, OC>; in main()
/external/opencensus-java/exporters/trace/ocagent/
DREADME.md1 # OpenCensus Java OC-Agent Trace Exporter
3 The *OpenCensus Java OC-Agent Trace Exporter* is the Java implementation of the OpenCensus Agent
4 (OC-Agent) Trace Exporter.
/external/eigen/test/
Dproduct_small.cpp43 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
48 || (Rows ==1&&Cols !=1&&OC==ColMajor)
49 || (Cols ==1&&Rows !=1&&OC==RowMajor)),void>::type
54 Matrix<T,Rows,Cols,OC> C(rows,cols); C.setRandom(); in test_lazy_single()
55 Matrix<T,Rows,Cols,OC> D(C); in test_lazy_single()
59 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
64 || (Rows ==1&&Cols !=1&&OC==ColMajor)
65 || (Cols ==1&&Rows !=1&&OC==RowMajor)),void>::type
/external/llvm/lib/Target/
DTargetSubtargetInfo.cpp25 const InstrStage *IS, const unsigned *OC, const unsigned *FP) in TargetSubtargetInfo() argument
26 : MCSubtargetInfo(TT, CPU, FS, PF, PD, ProcSched, WPR, WL, RA, IS, OC, FP) { in TargetSubtargetInfo()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCSubtargetInfo.cpp26 const unsigned *OC, in InitMCSubtargetInfo() argument
34 OperandCycles = OC; in InitMCSubtargetInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetSubtargetInfo.cpp31 const InstrStage *IS, const unsigned *OC, const unsigned *FP) in TargetSubtargetInfo() argument
32 : MCSubtargetInfo(TT, CPU, FS, PF, PD, ProcSched, WPR, WL, RA, IS, OC, FP) { in TargetSubtargetInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/Utils/
DLocal.h68 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntPtrTy, true /*SExt*/);
69 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/);
/external/llvm/lib/MC/
DMCSubtargetInfo.cpp44 const InstrStage *IS, const unsigned *OC, const unsigned *FP) in MCSubtargetInfo() argument
47 ReadAdvanceTable(RA), Stages(IS), OperandCycles(OC), ForwardingPaths(FP) { in MCSubtargetInfo()

12345678910>>...12