Home
last modified time | relevance | path

Searched refs:ConstantInteger32 (Results 1 – 25 of 29) sorted by relevance

12

/external/swiftshader/third_party/subzero/src/
DIceASanInstrumentation.cpp231 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 …]
DIceInstX8664.cpp129 } 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()
DIceInstX8632.cpp160 } 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()
DIceInstMIPS32.cpp563 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()
DIceTargetLoweringARM32.cpp223 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 …]
DIceTargetLoweringX86BaseImpl.h62 using IceType = ConstantInteger32;
72 using IceType = ConstantInteger32;
82 using IceType = ConstantInteger32;
807 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd))
1441 auto *ConstInt = llvm::dyn_cast<ConstantInteger32>(
1470 auto *ConstInt = llvm::dyn_cast<ConstantInteger32>(
1479 } else if (auto *IntOffset = llvm::dyn_cast<ConstantInteger32>(Offset)) {
1543 llvm::dyn_cast<ConstantInteger32>(TotalSize)) {
1772 if (auto *ConstantShiftAmount = llvm::dyn_cast<ConstantInteger32>(Src1Lo)) {
2287 Const != nullptr && (llvm::isa<ConstantInteger32>(Const) ||
[all …]
DIceTargetLoweringMIPS32.cpp259 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 …]
DIceInstARM32.h106 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()
DIceAssemblerMIPS32.cpp242 } 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()
DIceCfg.cpp936 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()
DIceGlobalContext.cpp207 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;
DIceInst.h1000 void addIndex(ConstantInteger32 *Index) { in addIndex()
1005 ConstantInteger32 *getIndex(SizeT Pos) const { in getIndex()
1061 Func->deallocateArrayOf<ConstantInteger32 *>(Indexes); in destroy()
1065 ConstantInteger32 **Indexes;
DIceInstARM32.cpp326 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()
DIceTargetLoweringARM32.h157 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()
DIceOperand.h282 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()
DIceAssemblerARM32.h473 bool vmovqc(const Operand *OpQd, const ConstantInteger32 *Imm);
588 const ConstantInteger32 *OpQn);
591 const ConstantInteger32 *OpQn, InstARM32::FPSign Sign);
DIceInstX86BaseImpl.h606 } 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()
2902 } else if (const auto *Const32 = llvm::dyn_cast<ConstantInteger32>(Src)) { in emitIAS()
DIceInst.cpp318 if (auto *Constant = llvm::dyn_cast<ConstantInteger32>(Source)) { in InstBr()
592 Indexes = Func->allocateArrayOf<ConstantInteger32 *>(NumIndexes); in InstShuffleVector()
DIceAssemblerARM32.cpp383 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()
DIceOperand.cpp588 template <> void ConstantInteger32::emit(TargetLowering *Target) const { in emit()
DIceTargetLowering.h326 virtual void emit(const ConstantInteger32 *C) const = 0;
DIceELFObjectWriter.cpp583 template void ELFObjectWriter::writeConstantPool<ConstantInteger32>(Type Ty);
DIceTargetLoweringX8664.cpp450 } else if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Offset)) { in _sandbox_mem_reference()
DWasmTranslator.cpp1369 if (auto *ConstBase = llvm::dyn_cast<ConstantInteger32>(Base)) { in sanitizeAddress()
1395 !llvm::isa<ConstantInteger32>(Base)) { in sanitizeAddress()
/external/swiftshader/src/Reactor/
DOptimizer.cpp688 return llvm::cast<Ice::ConstantInteger32>(storeSubVector->getSrc(3))->getValue(); in storeSize()
718 llvm::cast<Ice::ConstantInteger32>(storeSubVector->getSrc(3))->getValue() == in loadTypeMatchesStore()
719 llvm::cast<Ice::ConstantInteger32>(loadSubVector->getSrc(2))->getValue(); in loadTypeMatchesStore()

12