Home
last modified time | relevance | path

Searched refs:cast (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/ml/nn/runtime/test/generated/tests/
Dcast.mod.py.cpp5 namespace cast { namespace
13 execute(cast::CreateModel, in TEST_F()
14 cast::is_ignored, in TEST_F()
15 cast::get_examples_float16_to_float16()); in TEST_F()
17 TEST_AVAILABLE_SINCE(V1_2, cast_float16_to_float16, cast::CreateModel) in TEST_AVAILABLE_SINCE()
20 execute(cast::CreateModel_dynamic_output_shape, in TEST_AVAILABLE_SINCE()
21 cast::is_ignored_dynamic_output_shape, in TEST_AVAILABLE_SINCE()
22 cast::get_examples_float16_to_float16_dynamic_output_shape()); in TEST_AVAILABLE_SINCE()
26 execute(cast::CreateModel_2, in TEST_F()
27 cast::is_ignored_2, in TEST_F()
[all …]
/frameworks/compile/slang/tests/F_vector_cast/
Dstderr.txt.expect3 vector_cast.rs:7:9: error: invalid vector cast
4 vector_cast.rs:14:9: error: invalid vector cast
5 vector_cast.rs:21:9: error: invalid vector cast
6 vector_cast.rs:31:13: error: invalid vector cast
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOTPLT.cpp35 GOTPLTEntry* got = &(llvm::cast<GOTPLTEntry>((*it))); in emit()
56 llvm::cast<GOTPLTEntry>(*it++).setValue(0); // PLT lazy resolver in applyAllGOTPLT()
57 llvm::cast<GOTPLTEntry>(*it++).setValue(0); // Module pointer in applyAllGOTPLT()
60 llvm::cast<GOTPLTEntry>(*it).setValue(pltAddr); in applyAllGOTPLT()
DMipsPLT.cpp83 memcpy(buffer, llvm::cast<MipsPLT0>((*it)).getValue(), MipsPLT0::EntrySize); in emit()
89 plta = &(llvm::cast<MipsPLTA>(*it)); in emit()
106 PLTEntryBase* plt = &(llvm::cast<PLTEntryBase>(*it)); in applyAllPLT()
/frameworks/compile/mclinker/lib/Script/
DScriptFile.cpp90 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in addEntryPoint()
149 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in addAssignment()
153 llvm::cast<OutputSectDesc>(sections->back()); in addAssignment()
190 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in enterOutputSectDesc()
199 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in leaveOutputSectDesc()
202 OutputSectDesc* output_desc = llvm::cast<OutputSectDesc>(sections->back()); in leaveOutputSectDesc()
212 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in addInputSectDesc()
215 OutputSectDesc* output_sect = llvm::cast<OutputSectDesc>(sections->back()); in addInputSectDesc()
DUnaryOp.cpp76 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval()
80 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
98 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval()
102 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
169 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval()
173 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
DRpnEvaluator.cpp39 Operator* op = llvm::cast<Operator>(*it); in eval()
80 Operand* opd = llvm::cast<Operand>(*it); in eval()
86 SymOperand* sym_opd = llvm::cast<SymOperand>(opd); in eval()
DAssignment.cpp114 llvm::cast<Operand>(*it)->isDot()) { in activate()
151 llvm::cast<Operand>(*it)->isDot()) { in activate()
/frameworks/compile/mclinker/lib/Target/X86/
DX86GOTPLT.cpp37 llvm::cast<X86_32GOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0()
49 llvm::cast<X86_32GOTEntry>(*it).setValue(plt_addr + 6); in applyAllGOTPLT()
70 llvm::cast<X86_64GOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0()
82 llvm::cast<X86_64GOTEntry>(*it).setValue(plt_addr + 6); in applyAllGOTPLT()
DX86PLT.cpp97 PLTEntryBase* plt1 = &(llvm::cast<PLTEntryBase>(*it)); in finalizeSectionSize()
127 PLTEntryBase* plt0 = &(llvm::cast<PLTEntryBase>(*first)); in getPLT0()
187 plt1 = &(llvm::cast<PLTEntryBase>(*it)); in applyPLT1()
274 plt1 = &(llvm::cast<PLTEntryBase>(*it)); in applyPLT1()
DX86LDBackend.cpp175 unsigned int plt0_size = llvm::cast<PLTEntryBase>((*it)).size(); in emitSectionData()
177 memcpy(buffer, llvm::cast<PLTEntryBase>((*it)).getValue(), plt0_size); in emitSectionData()
184 plt1 = &(llvm::cast<PLTEntryBase>(*it)); in emitSectionData()
479 got = &(llvm::cast<X86_32GOTEntry>((*it))); in emitGOTSectionData()
503 got = &(llvm::cast<X86_32GOTEntry>((*it))); in emitGOTPLTSectionData()
664 got = &(llvm::cast<X86_64GOTEntry>((*it))); in emitGOTSectionData()
688 got = &(llvm::cast<X86_64GOTEntry>((*it))); in emitGOTPLTSectionData()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp267 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable()
270 PointerType *PTy = cast<PointerType>(T); in WriteTypeTable()
280 FunctionType *FT = cast<FunctionType>(T); in WriteTypeTable()
291 StructType *ST = cast<StructType>(T); in WriteTypeTable()
318 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable()
327 VectorType *VT = cast<VectorType>(T); in WriteTypeTable()
684 Write##CLASS(cast<CLASS>(N), VE, Stream, Record, CLASS##Abbrev); \ in WriteModuleMetadata()
693 const MDString *MDS = cast<MDString>(MD); in WriteModuleMetadata()
879 const Constant *C = cast<Constant>(V); in WriteConstants()
925 cast<ConstantDataSequential>(C)->isString()) { in WriteConstants()
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp264 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable()
267 PointerType *PTy = cast<PointerType>(T); in WriteTypeTable()
277 FunctionType *FT = cast<FunctionType>(T); in WriteTypeTable()
289 StructType *ST = cast<StructType>(T); in WriteTypeTable()
316 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable()
325 VectorType *VT = cast<VectorType>(T); in WriteTypeTable()
654 Write##CLASS(cast<CLASS>(N), VE, Stream, Record, CLASS##Abbrev); \ in WriteModuleMetadata()
663 const MDString *MDS = cast<MDString>(MD); in WriteModuleMetadata()
841 const Constant *C = cast<Constant>(V); in WriteConstants()
894 cast<ConstantDataSequential>(C)->isString()) { in WriteConstants()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonPLT.cpp59 PLTEntryBase* plt0 = &(llvm::cast<PLTEntryBase>(*first)); in getPLT0()
74 PLTEntryBase* plt1 = &(llvm::cast<PLTEntryBase>(*it)); in finalizeSectionSize()
142 plt1 = &(llvm::cast<HexagonPLT1>(*it)); in applyPLT1()
174 llvm::cast<HexagonPLT0>((*it)).getValue(), in emit()
182 plt1 = &(llvm::cast<HexagonPLT1>(*it)); in emit()
DHexagonGOTPLT.cpp40 llvm::cast<HexagonGOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0()
53 llvm::cast<HexagonGOTEntry>(*it).setValue(pPLT.addr()); in applyAllGOTPLT()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMPLT.cpp81 ARMPLT0* plt0 = &(llvm::cast<ARMPLT0>(*first)); in applyPLT0()
117 plt1 = &(llvm::cast<ARMPLT1>(*it)); in applyPLT1()
146 memcpy(buffer, llvm::cast<ARMPLT0>((*it)).getValue(), ARMPLT0::EntrySize); in emit()
153 plt1 = &(llvm::cast<ARMPLT1>(*it)); in emit()
DARMGOT.cpp94 llvm::cast<ARMGOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0()
110 llvm::cast<ARMGOTEntry>(entry)->setValue(pPLTBase); in applyGOTPLT()
121 got = &(llvm::cast<ARMGOTEntry>((*it))); in emit()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64PLT.cpp70 AArch64PLT0* plt0 = &(llvm::cast<AArch64PLT0>(*first)); in applyPLT0()
123 plt1 = &(llvm::cast<AArch64PLT1>(*it)); in applyPLT1()
153 llvm::cast<AArch64PLT0>((*it)).getValue(), in emit()
161 plt1 = &(llvm::cast<AArch64PLT1>(*it)); in emit()
DAArch64GOT.cpp97 llvm::cast<AArch64GOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0()
113 llvm::cast<AArch64GOTEntry>(entry)->setValue(pPLTBase); in applyGOTPLT()
124 got = &(llvm::cast<AArch64GOTEntry>((*it))); in emit()
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp180 StructType *ST = cast<StructType>(T); in WriteTypeSymbolTable()
279 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable()
282 PointerType *PTy = cast<PointerType>(T); in WriteTypeTable()
292 FunctionType *FT = cast<FunctionType>(T); in WriteTypeTable()
304 StructType *ST = cast<StructType>(T); in WriteTypeTable()
316 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable()
325 VectorType *VT = cast<VectorType>(T); in WriteTypeTable()
656 Write##CLASS(cast<CLASS>(N), VE, Stream, Record, CLASS##Abbrev); \ in WriteModuleMetadata()
665 const MDString *MDS = cast<MDString>(MD); in WriteModuleMetadata()
843 const Constant *C = cast<Constant>(V); in WriteConstants()
[all …]
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp152 DT = llvm::cast<llvm::DIDerivedType>(kernelPrototypeVarMD->getType()); in initializeDebugInfo()
153 DT = llvm::cast<llvm::DIDerivedType>(DT->getBaseType()); in initializeDebugInfo()
154 llvm::DISubroutineType *ST = llvm::cast<llvm::DISubroutineType>(DT->getBaseType()); in initializeDebugInfo()
155 kernelPrototypeMD = llvm::cast<llvm::MDTuple>(ST->getRawTypeArray()); in initializeDebugInfo()
217 llvm::cast<llvm::DIType>(argTypes->getOperand(argIdx).get()), in attachDebugInfo()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp100 LPI->addClause(cast<Constant>(EHSel->getArgOperand(j))); in TransferClausesToLandingPadInst()
102 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst()
115 TyInfo.push_back(cast<Constant>(EHSel->getArgOperand(j))); in TransferClausesToLandingPadInst()
131 LPI->addClause(cast<Constant>(EHSel->getArgOperand(j))); in TransferClausesToLandingPadInst()
133 GlobalVariable *GV = cast<GlobalVariable>(Val); in TransferClausesToLandingPadInst()
188 CallInst *Exn = cast<CallInst>(EHIntrinsics.first); in UpgradeExceptionHandling()
189 CallInst *Sel = cast<CallInst>(EHIntrinsics.second); in UpgradeExceptionHandling()
215 PHINode *PN = cast<PHINode>(II); in UpgradeExceptionHandling()
245 CallInst *Exn = cast<CallInst>(EHIntrinsics.first); in UpgradeExceptionHandling()
246 CallInst *Sel = cast<CallInst>(EHIntrinsics.second); in UpgradeExceptionHandling()
[all …]
/frameworks/compile/mclinker/lib/LD/
DDebugString.cpp46 RegionFragment* frag = llvm::cast<RegionFragment>(&(*it)); in merge()
75 llvm::cast<RegionFragment>(info->outSymbol()->fragRef()->frag()); in applyOffset()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp58 cast<CallInst>(*FuncStart->use_begin())->eraseFromParent(); in StripDebugInfoOfFunction()
75 DbgDeclareInst *DDI = cast<DbgDeclareInst>(*Declare->use_begin()); in CheckDebugInfoIntrinsics()
79 CallInst *CI = cast<CallInst>(*Declare->use_begin()); in CheckDebugInfoIntrinsics()
559 cast<ConstantExpr>(V)->getOpcode() == Instruction::UserOp1; in classof()
613 return cast<Constant>(V); in getConstantFwdRef()
675 Constant *UserC = cast<Constant>(U); in ResolveConstantForwardRefs()
689 std::pair<Constant*, unsigned>(cast<Constant>(*I), in ResolveConstantForwardRefs()
695 NewOps.push_back(cast<Constant>(NewOp)); in ResolveConstantForwardRefs()
708 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in ResolveConstantForwardRefs()
738 TempMDTuple PrevMD(cast<MDTuple>(OldMD.get())); in AssignValue()
[all …]
/frameworks/ml/nn/common/operations/
DCast.h24 namespace cast {

1234