/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceASanInstrumentation.cpp | 231 ConstantInteger32 *VarSizeOp; in instrumentFuncStart() 236 : llvm::dyn_cast<ConstantInteger32>(Cur->getSizeInBytes()); in instrumentFuncStart() 249 auto *ByteCount = ConstantInteger32::create(Ctx, IceType_i32, RzSize); in instrumentFuncStart() 262 ConstantInteger32::create(Ctx, IceType_i32, ShadowScaleLog2); in instrumentFuncStart() 264 ConstantInteger32::create(Ctx, IceType_i32, ShadowLength32); in instrumentFuncStart() 280 ConstantInteger32::create(Ctx, IceType_i32, VarSize + RzPadding); in instrumentFuncStart() 327 auto *PoisonConst = ConstantInteger32::create(Ctx, IceType_i32, Poison); in instrumentFuncStart() 328 auto *ZeroConst = ConstantInteger32::create(Ctx, IceType_i32, 0); in instrumentFuncStart() 329 auto *OffsetConst = ConstantInteger32::create(Ctx, IceType_i32, Offset); in instrumentFuncStart() 443 Call->addArg(ConstantInteger32::create(Ctx, IceType_i32, Size)); in instrumentAccess() [all …]
|
D | IceTargetLoweringX86.h | 93 using IceType = ConstantInteger32; 103 using IceType = ConstantInteger32; 113 using IceType = ConstantInteger32;
|
D | IceInstMIPS32.cpp | 469 if (llvm::isa<ConstantInteger32>(getCallTarget())) { in emit() 492 if (llvm::isa<ConstantInteger32>(getCallTarget())) { in emitIAS() 820 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS() 828 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS() 1009 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS() 1098 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS()
|
D | IceTargetLoweringARM32.cpp | 214 if (auto *Const = llvm::dyn_cast_or_null<ConstantInteger32>(Op)) { in isGuaranteedNonzeroInt() 544 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in genTargetHelperCallFor() 1627 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset)), in createMemOperand() 1646 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand() 1965 ConstantInteger32 *Offset = Mem->getOffset(); in hiOperand() 1982 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(NextOffsetVal)); in hiOperand() 2056 llvm::dyn_cast<ConstantInteger32>(TotalSize)) { in lowerAlloca() 2313 class Int32Operands : public NumericOperands<ConstantInteger32> { 2385 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in preambleDivRem() 2787 Func, llvm::cast<ConstantInteger32>( in createShiftedOperand() [all …]
|
D | IceTargetLoweringMIPS32.cpp | 257 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd)) in getConstantMemoryOrder() 693 llvm::cast<ConstantInteger32>(Intrinsic->getArg(0))->getValue()); in genTargetHelperCallFor() 1117 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(Offset))); in formMemoryOperand() 1639 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addProlog() 1762 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addEpilog() 1809 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset))); in legalizeMovFp() 1943 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset))); in legalizeMov() 1946 llvm::cast<ConstantInteger32>( in legalizeMov() 2019 llvm::cast<ConstantInteger32>( in legalizeMov() 2023 llvm::cast<ConstantInteger32>( in legalizeMov() [all …]
|
D | IceTargetLoweringX8632.cpp | 647 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd)) in getConstantMemoryOrder() 1223 auto *ConstInt = llvm::dyn_cast<ConstantInteger32>( in loOperand() 1249 auto *ConstInt = llvm::dyn_cast<ConstantInteger32>( in hiOperand() 1258 } else if (auto *IntOffset = llvm::dyn_cast<ConstantInteger32>(Offset)) { in hiOperand() 1319 llvm::dyn_cast<ConstantInteger32>(TotalSize)) { in lowerAlloca() 1527 if (auto *ConstantShiftAmount = llvm::dyn_cast<ConstantInteger32>(Src1Lo)) { in lowerShift64() 2041 Const != nullptr && (llvm::isa<ConstantInteger32>(Const) || in lowerArithmetic() 2076 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in lowerArithmetic() 2087 } else if (auto *ImmConst = llvm::dyn_cast<ConstantInteger32>(Src1)) { in lowerArithmetic() 2102 if (!llvm::isa<ConstantInteger32>(Src1) && in lowerArithmetic() [all …]
|
D | IceTargetLoweringX8664.cpp | 656 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd)) in getConstantMemoryOrder() 1229 llvm::dyn_cast<ConstantInteger32>(TotalSize)) { in lowerAlloca() 1450 if (auto *ConstantShiftAmount = llvm::dyn_cast<ConstantInteger32>(Src1Lo)) { in lowerShift64() 1841 Const != nullptr && (llvm::isa<ConstantInteger32>(Const) || in lowerArithmetic() 1876 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in lowerArithmetic() 1887 } else if (auto *ImmConst = llvm::dyn_cast<ConstantInteger32>(Src1)) { in lowerArithmetic() 1902 if (!llvm::isa<ConstantInteger32>(Src1) && in lowerArithmetic() 1910 if (!llvm::isa<ConstantInteger32>(Src1) && in lowerArithmetic() 1918 if (!llvm::isa<ConstantInteger32>(Src1) && in lowerArithmetic() 1963 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in lowerArithmetic() [all …]
|
D | IceCfg.cpp | 839 llvm::dyn_cast<ConstantInteger32>(Alloca->getSizeInBytes()); in sortAndCombineAllocas() 1032 auto *Src1Imm = llvm::dyn_cast<ConstantInteger32>(Arith->getSrc(1)); in rematerializeArithmetic() 1178 if (llvm::cast<ConstantInteger32>(I->getSrc(2))->getValue() != in findAllInserts() 1228 llvm::cast<ConstantInteger32>(Insert.getSrc(2))->getValue(); in insertsLastElement() 1402 auto *Index = llvm::cast<ConstantInteger32>(Extracts[Pos]->getSrc(1)); in materializeVectorShuffles() 1406 ShuffleVector->addIndex(llvm::cast<ConstantInteger32>( in materializeVectorShuffles()
|
D | IceAssemblerMIPS32.cpp | 242 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpImm)) { in emitRtRsImm16Rel() 673 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpImm)) { in lui() 693 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpOff)) { in ldc1() 755 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpOff)) { in lwc1() 1081 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpOff)) { in sdc1() 1137 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpOff)) { in swc1()
|
D | IceGlobalContext.cpp | 207 TypePool<IceType_i1, int8_t, ConstantInteger32> Integers1; 208 TypePool<IceType_i8, int8_t, ConstantInteger32> Integers8; 209 TypePool<IceType_i16, int16_t, ConstantInteger32> Integers16; 210 TypePool<IceType_i32, int32_t, ConstantInteger32> Integers32;
|
D | IceInstARM32.h | 106 ConstantInteger32 *ImmOffset, 120 ConstantInteger32 *getOffset() const { return ImmOffset; } in getOffset() 152 ConstantInteger32 *ImmOffset, AddrMode Mode); 157 ConstantInteger32 *ImmOffset; 173 static OperandARM32ShAmtImm *create(Cfg *Func, ConstantInteger32 *ShAmt) { in create() 189 explicit OperandARM32ShAmtImm(ConstantInteger32 *SA); 191 const ConstantInteger32 *const ShAmt; 852 create(Cfg *Func, Variable *Dest, Variable *Src0, ConstantInteger32 *Src1) { in create()
|
D | IceInstX8632.cpp | 560 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Target)) { in emitIAS() 587 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(CallTarget)) { in emit() 614 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(CallTarget)) { in emitIAS() 697 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASRegOpTyGPR() 721 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASAddrOpTyGPR() 766 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASGPRShift() 786 if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src2Op)) { in emitIASGPRShiftDouble() 812 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASXmmShift() 880 AssemblerImmediate Imm(llvm::cast<ConstantInteger32>(Src1)->getValue()); in emitIASThreeOpImmOps() 2648 } else if (const auto *Const32 = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIAS() [all …]
|
D | IceInstX8664.cpp | 547 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Target)) { in emitIAS() 574 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(CallTarget)) { in emit() 601 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(CallTarget)) { in emitIAS() 684 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASRegOpTyGPR() 709 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASAddrOpTyGPR() 755 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASGPRShift() 778 if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src2Op)) { in emitIASGPRShiftDouble() 804 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASXmmShift() 872 AssemblerImmediate Imm(llvm::cast<ConstantInteger32>(Src1)->getValue()); in emitIASThreeOpImmOps() 2575 } else if (const auto *Const32 = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIAS() [all …]
|
D | IceInst.h | 951 void addIndex(ConstantInteger32 *Index) { in addIndex() 956 ConstantInteger32 *getIndex(SizeT Pos) const { in getIndex() 1012 Func->deallocateArrayOf<ConstantInteger32 *>(Indexes); in destroy() 1016 ConstantInteger32 **Indexes;
|
D | IceInstARM32.cpp | 321 ConstantInteger32 *ImmOffset, AddrMode Mode) in OperandARM32Mem() 344 OperandARM32ShAmtImm::OperandARM32ShAmtImm(ConstantInteger32 *SA) in OperandARM32ShAmtImm() 1037 if (const auto *Imm6 = llvm::dyn_cast<ConstantInteger32>(getSrc(1))) { in emitIAS() 1044 if (const auto *Imm6 = llvm::dyn_cast<ConstantInteger32>(getSrc(1))) { in emitIAS() 1072 const auto *Imm6 = llvm::cast<ConstantInteger32>(getSrc(1)); in emitIAS() 2059 } else if (const auto *C = llvm::dyn_cast<ConstantInteger32>(Src0)) { in emitIAS() 2161 if (llvm::isa<ConstantInteger32>(getCallTarget())) { in emit() 2184 if (llvm::isa<ConstantInteger32>(getCallTarget())) { in emitIAS() 3229 ConstantInteger32 *Offset = getOffset(); in emit()
|
D | IceTargetLoweringARM32.h | 156 void emit(const ConstantInteger32 *C) const final; 194 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(ShAmtImm & 0x1F))); in shAmtImm() 953 void _vshl(Variable *Dest, Variable *Src0, ConstantInteger32 *Src1) { in _vshl() 958 ConstantInteger32 *Src1) { in _vshr()
|
D | IceAssemblerARM32.h | 469 bool vmovqc(const Operand *OpQd, const ConstantInteger32 *Imm); 584 const ConstantInteger32 *OpQn); 587 const ConstantInteger32 *OpQn, InstARM32::FPSign Sign);
|
D | IceInst.cpp | 308 if (auto *Constant = llvm::dyn_cast<ConstantInteger32>(Source)) { in InstBr() 575 Indexes = Func->allocateArrayOf<ConstantInteger32 *>(NumIndexes); in InstShuffleVector()
|
D | IceOperand.h | 275 using ConstantInteger32 = ConstantPrimitive<int32_t, Operand::kConstInteger32>; variable 281 inline void ConstantInteger32::dump(const Cfg *, Ostream &Str) const { in dump()
|
D | IceTargetLowering.h | 319 virtual void emit(const ConstantInteger32 *C) const = 0;
|
D | IceAssemblerARM32.cpp | 383 if (const auto *Const = llvm::dyn_cast<ConstantInteger32>(Opnd)) { in encodeOperand() 403 } else if (const auto *IntConst = llvm::dyn_cast<ConstantInteger32>(Amt)) { in encodeOperand() 512 ConstantInteger32 *Offset = Mem->getOffset(); in encodeAddress() 624 const ConstantInteger32 *Imm6) { in encodeSIMDShiftImm6() 3025 bool AssemblerARM32::vmovqc(const Operand *OpQd, const ConstantInteger32 *Imm) { in vmovqc() 4025 const ConstantInteger32 *Imm6) { in vshlqc() 4040 const Operand *OpQm, const ConstantInteger32 *Imm6, in vshrqc()
|
D | IceOperand.cpp | 599 template <> void ConstantInteger32::emit(TargetLowering *Target) const { in emit()
|
D | IceELFObjectWriter.cpp | 565 template void ELFObjectWriter::writeConstantPool<ConstantInteger32>(Type Ty);
|
D | WasmTranslator.cpp | 1369 if (auto *ConstBase = llvm::dyn_cast<ConstantInteger32>(Base)) { in sanitizeAddress() 1395 !llvm::isa<ConstantInteger32>(Base)) { in sanitizeAddress()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | Optimizer.cpp | 220 uint32_t sizeInBytes = llvm::cast<Ice::ConstantInteger32>(alloca->getSizeInBytes())->getValue(); in performScalarReplacementOfAggregates() 237 auto *bytes = Ice::ConstantInteger32::create(context, Ice::IceType_i32, alignInBytes); in performScalarReplacementOfAggregates() 271 int32_t offset = llvm::cast<Ice::ConstantInteger32>(rhs)->getValue(); in performScalarReplacementOfAggregates() 725 return llvm::cast<Ice::ConstantInteger32>(storeSubVector->getSrc(2))->getValue() == in loadTypeMatchesStore() 726 llvm::cast<Ice::ConstantInteger32>(loadSubVector->getSrc(1))->getValue(); in loadTypeMatchesStore() 748 return llvm::cast<Ice::ConstantInteger32>(storeSubVector1->getSrc(2))->getValue() == in storeTypeMatchesStore() 749 llvm::cast<Ice::ConstantInteger32>(storeSubVector2->getSrc(2))->getValue(); in storeTypeMatchesStore()
|