/external/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() 442 Call->addArg(ConstantInteger32::create(Ctx, IceType_i32, Size)); in instrumentAccess() [all …]
|
D | IceInstMIPS32.cpp | 563 if (llvm::isa<ConstantInteger32>(getCallTarget())) { in emit() 586 if (llvm::isa<ConstantInteger32>(getCallTarget())) { in emitIAS() 914 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS() 922 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS() 1103 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS() 1192 ConstantInteger32 *Offset = llvm::cast<ConstantInteger32>(Mem->getOffset()); in emitIAS()
|
D | IceInstX8664.cpp | 129 } else if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(Offset)) { in emit() 229 } else if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(Offset)) { in dump() 265 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(getOffset())) { in toAsmAddress()
|
D | IceInstX8632.cpp | 160 } else if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(getOffset())) { in emit() 234 } else if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(getOffset())) { in dump() 280 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(getOffset())) { in toAsmAddress()
|
D | IceTargetLoweringARM32.cpp | 223 if (auto *Const = llvm::dyn_cast_or_null<ConstantInteger32>(Op)) { in isGuaranteedNonzeroInt() 554 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in genTargetHelperCallFor() 1811 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset)), in createMemOperand() 1830 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand() 2155 ConstantInteger32 *Offset = Mem->getOffset(); in hiOperand() 2172 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(NextOffsetVal)); in hiOperand() 2246 llvm::dyn_cast<ConstantInteger32>(TotalSize)) { in lowerAlloca() 2503 class Int32Operands : public NumericOperands<ConstantInteger32> { 2575 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in preambleDivRem() 2975 Func, llvm::cast<ConstantInteger32>( in createShiftedOperand() [all …]
|
D | IceTargetLoweringX86BaseImpl.h | 62 using IceType = ConstantInteger32; 72 using IceType = ConstantInteger32; 82 using IceType = ConstantInteger32; 794 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd)) 1391 auto *ConstInt = llvm::dyn_cast<ConstantInteger32>( 1420 auto *ConstInt = llvm::dyn_cast<ConstantInteger32>( 1429 } else if (auto *IntOffset = llvm::dyn_cast<ConstantInteger32>(Offset)) { 1493 llvm::dyn_cast<ConstantInteger32>(TotalSize)) { 1719 if (auto *ConstantShiftAmount = llvm::dyn_cast<ConstantInteger32>(Src1Lo)) { 2234 Const != nullptr && (llvm::isa<ConstantInteger32>(Const) || [all …]
|
D | IceTargetLoweringMIPS32.cpp | 259 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd)) in getConstantMemoryOrder() 702 llvm::cast<ConstantInteger32>(IntrinsicCall->getArg(0))->getValue()); in genTargetHelperCallFor() 1149 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(Offset))); in formMemoryOperand() 1668 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addProlog() 1791 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackOffset))); in addEpilog() 1849 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset))); in legalizeMovFp() 1983 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset))); in legalizeMov() 1986 llvm::cast<ConstantInteger32>( in legalizeMov() 2059 llvm::cast<ConstantInteger32>( in legalizeMov() 2063 llvm::cast<ConstantInteger32>( in legalizeMov() [all …]
|
D | IceInstARM32.h | 106 ConstantInteger32 *ImmOffset, 121 ConstantInteger32 *getOffset() const { return ImmOffset; } in getOffset() 153 ConstantInteger32 *ImmOffset, AddrMode Mode); 158 ConstantInteger32 *ImmOffset; 174 static OperandARM32ShAmtImm *create(Cfg *Func, ConstantInteger32 *ShAmt) { in create() 190 explicit OperandARM32ShAmtImm(ConstantInteger32 *SA); 192 const ConstantInteger32 *const ShAmt; 853 create(Cfg *Func, Variable *Dest, Variable *Src0, ConstantInteger32 *Src1) { in create()
|
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() 753 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpOff)) { in lwc1() 1077 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpOff)) { in sdc1() 1131 } else if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(OpOff)) { in swc1()
|
D | IceCfg.cpp | 936 llvm::dyn_cast<ConstantInteger32>(Alloca->getSizeInBytes()); in sortAndCombineAllocas() 1129 auto *Src1Imm = llvm::dyn_cast<ConstantInteger32>(Arith->getSrc(1)); in rematerializeArithmetic() 1275 if (llvm::cast<ConstantInteger32>(I->getSrc(2))->getValue() != in findAllInserts() 1325 llvm::cast<ConstantInteger32>(Insert.getSrc(2))->getValue(); in insertsLastElement() 1499 auto *Index = llvm::cast<ConstantInteger32>(Extracts[Pos]->getSrc(1)); in materializeVectorShuffles() 1503 ShuffleVector->addIndex(llvm::cast<ConstantInteger32>( in materializeVectorShuffles()
|
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 | IceInst.h | 997 void addIndex(ConstantInteger32 *Index) { in addIndex() 1002 ConstantInteger32 *getIndex(SizeT Pos) const { in getIndex() 1058 Func->deallocateArrayOf<ConstantInteger32 *>(Indexes); in destroy() 1062 ConstantInteger32 **Indexes;
|
D | IceInstARM32.cpp | 326 ConstantInteger32 *ImmOffset, AddrMode Mode) in OperandARM32Mem() 349 OperandARM32ShAmtImm::OperandARM32ShAmtImm(ConstantInteger32 *SA) in OperandARM32ShAmtImm() 1042 if (const auto *Imm6 = llvm::dyn_cast<ConstantInteger32>(getSrc(1))) { in emitIAS() 1049 if (const auto *Imm6 = llvm::dyn_cast<ConstantInteger32>(getSrc(1))) { in emitIAS() 1077 const auto *Imm6 = llvm::cast<ConstantInteger32>(getSrc(1)); in emitIAS() 2137 } else if (const auto *C = llvm::dyn_cast<ConstantInteger32>(Src0)) { in emitIAS() 2238 if (llvm::isa<ConstantInteger32>(getCallTarget())) { in emit() 2261 if (llvm::isa<ConstantInteger32>(getCallTarget())) { in emitIAS() 3307 ConstantInteger32 *Offset = getOffset(); in emit()
|
D | IceTargetLoweringARM32.h | 157 void emit(const ConstantInteger32 *C) const final; 195 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(ShAmtImm & 0x1F))); in shAmtImm() 961 void _vshl(Variable *Dest, Variable *Src0, ConstantInteger32 *Src1) { in _vshl() 966 ConstantInteger32 *Src1) { in _vshr()
|
D | IceOperand.h | 282 using ConstantInteger32 = ConstantPrimitive<int32_t, Operand::kConstInteger32>; variable 288 inline void ConstantInteger32::dump(const Cfg *, Ostream &Str) const { in dump() 300 template <> inline bool ConstantInteger32::shouldBeRandomizedOrPooled() const { in shouldBeRandomizedOrPooled()
|
D | IceAssemblerARM32.h | 473 bool vmovqc(const Operand *OpQd, const ConstantInteger32 *Imm); 588 const ConstantInteger32 *OpQn); 591 const ConstantInteger32 *OpQn, InstARM32::FPSign Sign);
|
D | IceInstX86BaseImpl.h | 606 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Target)) { in emitIAS() 635 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(CallTarget)) { in emit() 663 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(CallTarget)) { in emitIAS() 753 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASRegOpTyGPR() 784 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASAddrOpTyGPR() 839 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASGPRShift() 864 if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src2Op)) { in emitIASGPRShiftDouble() 893 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIASXmmShift() 966 AssemblerImmediate Imm(llvm::cast<ConstantInteger32>(Src1)->getValue()); in emitIASThreeOpImmOps() 2896 } else if (const auto *Const32 = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIAS()
|
D | IceInst.cpp | 318 if (auto *Constant = llvm::dyn_cast<ConstantInteger32>(Source)) { in InstBr() 592 Indexes = Func->allocateArrayOf<ConstantInteger32 *>(NumIndexes); in InstShuffleVector()
|
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() 3024 bool AssemblerARM32::vmovqc(const Operand *OpQd, const ConstantInteger32 *Imm) { in vmovqc() 4024 const ConstantInteger32 *Imm6) { in vshlqc() 4039 const Operand *OpQm, const ConstantInteger32 *Imm6, in vshrqc()
|
D | IceOperand.cpp | 588 template <> void ConstantInteger32::emit(TargetLowering *Target) const { in emit()
|
D | IceTargetLowering.h | 326 virtual void emit(const ConstantInteger32 *C) const = 0;
|
D | IceTargetLoweringX8664.cpp | 426 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Offset)) { in _sandbox_mem_reference()
|
D | IceELFObjectWriter.cpp | 583 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()
|
/external/swiftshader/src/Reactor/ |
D | Optimizer.cpp | 672 return llvm::cast<Ice::ConstantInteger32>(storeSubVector->getSrc(3))->getValue(); in storeSize() 702 llvm::cast<Ice::ConstantInteger32>(storeSubVector->getSrc(3))->getValue() == in loadTypeMatchesStore() 703 llvm::cast<Ice::ConstantInteger32>(loadSubVector->getSrc(2))->getValue(); in loadTypeMatchesStore()
|