Home
last modified time | relevance | path

Searched refs:ConstantRelocatable (Results 1 – 25 of 32) sorted by relevance

12

/external/swiftshader/third_party/subzero/src/
DIceFixups.cpp28 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) in offset()
38 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(C)) { in symbol()
60 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) { in emit()
DIceASanInstrumentation.cpp344 llvm::dyn_cast<ConstantRelocatable>(Instr->getCallTarget()); in instrumentCall()
367 if (auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Src)) { in instrumentLoad()
383 if (auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Data)) { in instrumentStore()
396 ConstantRelocatable *
397 ASanInstrumentation::instrumentReloc(ConstantRelocatable *Reloc) { in instrumentReloc()
401 return ConstantRelocatable::create( in instrumentReloc()
452 auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Op); in isOkGlobalAccess()
DIceASanInstrumentation.h48 ConstantRelocatable *instrumentReloc(ConstantRelocatable *Reloc);
DIceInstX8632.cpp119 Mem->getOffset() && llvm::isa<ConstantRelocatable>(Mem->getOffset()); in validateMemOperandPIC()
165 llvm::dyn_cast<ConstantRelocatable>(getOffset())) { in emit()
238 assert(llvm::isa<ConstantRelocatable>(getOffset())); in dump()
283 llvm::dyn_cast<ConstantRelocatable>(getOffset())) { in toAsmAddress()
DIceOperand.h395 class ConstantRelocatable : public Constant {
396 ConstantRelocatable() = delete;
397 ConstantRelocatable(const ConstantRelocatable &) = delete;
398 ConstantRelocatable &operator=(const ConstantRelocatable &) = delete;
402 static ConstantRelocatable *create(T *AllocOwner, Type Ty, in create()
404 return new (AllocOwner->template allocate<ConstantRelocatable>()) in create()
405 ConstantRelocatable(Ty, Tuple.Offset, Tuple.OffsetExpr, Tuple.Name, in create()
433 ConstantRelocatable(Type Ty, const RelocOffsetT Offset, in ConstantRelocatable() function
DIceInstX8664.cpp133 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Offset)) { in emit()
233 assert(llvm::isa<ConstantRelocatable>(Offset)); in dump()
268 llvm::dyn_cast<ConstantRelocatable>(getOffset())) { in toAsmAddress()
DIceOperand.cpp604 void ConstantRelocatable::emit(TargetLowering *Target) const { in emit()
608 void ConstantRelocatable::emitWithoutPrefix(const TargetLowering *Target, in emitWithoutPrefix()
613 void ConstantRelocatable::dump(const Cfg *, Ostream &Str) const { in dump()
DIceAssemblerMIPS32.cpp240 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpImm)) { in emitRtRsImm16Rel()
647 void AssemblerMIPS32::jal(const ConstantRelocatable *Target) { in jal()
671 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpImm)) { in lui()
691 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpOff)) { in ldc1()
751 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpOff)) { in lwc1()
1075 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpOff)) { in sdc1()
1129 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpOff)) { in swc1()
DIceTargetLoweringX8632.cpp179 if (llvm::dyn_cast_or_null<ConstantRelocatable>(Mem->getOffset()) == in _sandbox_mem_reference()
273 llvm::cast<ConstantRelocatable>(Ctx->getConstantSymWithEmitString( in emitGetIP()
DIceTargetLoweringX8664.cpp356 if (llvm::isa<ConstantRelocatable>(Offset)) { in _sandbox_mem_reference()
424 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Offset)) { in _sandbox_mem_reference()
654 auto *ReturnReloc = ConstantRelocatable::create( in emitCallToTarget()
DIceTargetLowering.h323 void emitWithoutPrefix(const ConstantRelocatable *CR,
331 virtual void emit(const ConstantRelocatable *CR) const = 0;
DIceInstMIPS32.cpp166 if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src0)) { in emit()
347 if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Offset)) { in emit()
568 llvm::dyn_cast<ConstantRelocatable>(getCallTarget())) { in emit()
589 llvm::dyn_cast<ConstantRelocatable>(getCallTarget())) { in emitIAS()
DIceTargetLoweringX86BaseImpl.h1431 } else if (auto *SymOffset = llvm::dyn_cast<ConstantRelocatable>(Offset)) {
2235 llvm::isa<ConstantRelocatable>(Const));
5083 assert(!llvm::isa<ConstantRelocatable>(Offset));
5101 assert(!llvm::isa<ConstantRelocatable>(Offset));
5369 inline void dumpAddressOpt(const ConstantRelocatable *const Relocatable,
5375 ConstantRelocatable **Relocatable,
5385 ConstantRelocatable **Relocatable,
5401 const ConstantRelocatable *const Relocatable, int32_t Offset,
5427 ConstantRelocatable **Relocatable,
5451 } else if (auto *AddReloc = llvm::dyn_cast<ConstantRelocatable>(SrcOp)) {
[all …]
DIceAssemblerX86Base.h281 void call(const ConstantRelocatable *label); // not testable.
288 void pushl(const ConstantRelocatable *Label);
708 void j(BrCond condition, const ConstantRelocatable *label); // not testable.
712 void jmp(const ConstantRelocatable *label); // not testable.
DIceGlobalContext.cpp122 std::is_same<ValueType, ConstantRelocatable>::value>::type> {
212 TypePool<IceType_i32, RelocatableTuple, ConstantRelocatable> Relocatables;
213 TypePool<IceType_i32, RelocatableTuple, ConstantRelocatable>
DIceTargetLoweringX86Base.h196 ConstantRelocatable *createGetIPForRegister(const Variable *Dest) { in createGetIPForRegister()
199 return llvm::cast<ConstantRelocatable>(Ctx->getConstantExternSym( in createGetIPForRegister()
212 void emit(const ConstantRelocatable *C) const final;
301 ConstantRelocatable *Relocatable = nullptr;
1197 ConstantRelocatable *lowerShuffleVector_CreatePshufbMask(
DIceTargetLoweringMIPS32.h158 void emit(const ConstantRelocatable *C) const final { in emit()
373 if (llvm::isa<ConstantRelocatable>(Src0)) {
387 if (llvm::isa<ConstantRelocatable>(Src0)) {
DIceAssemblerARM32.h116 BlRelocatableFixup *createBlFixup(const ConstantRelocatable *BlTarget);
199 void bl(const ConstantRelocatable *Target);
DIceAssemblerMIPS32.h189 void jal(const ConstantRelocatable *Target);
DIceInstX86BaseImpl.h571 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src)) { in emit()
604 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Target)) { in emitIAS()
639 llvm::dyn_cast<ConstantRelocatable>(CallTarget)) { in emit()
661 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(CallTarget)) { in emitIAS()
759 } else if (const auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Src)) { in emitIASRegOpTyGPR()
790 } else if (const auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Src)) { in emitIASAddrOpTyGPR()
2898 } else if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src)) { in emitIAS()
DIceTargetLoweringARM32.cpp888 TargetARM32::createGotoffRelocation(const ConstantRelocatable *CR) { in createGotoffRelocation()
2424 return llvm::isa<Constant>(Src1) && !llvm::isa<ConstantRelocatable>(Src1); in hasConstOperand()
2467 if (llvm::isa<ConstantRelocatable>(S1) && in NonConstOperand()
2468 !llvm::isa<ConstantRelocatable>(S0)) in NonConstOperand()
2478 if (llvm::isa<ConstantRelocatable>(S1) && in ConstOperand()
2479 !llvm::isa<ConstantRelocatable>(S0)) in ConstOperand()
3822 if (!llvm::isa<ConstantRelocatable>(CallTarget)) { in lowerCall()
5721 assert(llvm::isa<ConstantRelocatable>(Src0)); in matchOffsetBase()
5726 assert(llvm::isa<ConstantRelocatable>(Src1)); in matchOffsetBase()
6248 if (llvm::isa<ConstantRelocatable>(Opnd)) { in operandNeedsGot()
[all …]
DIceTargetLoweringARM32.h161 void emit(const ConstantRelocatable *C) const final;
1017 GlobalString createGotoffRelocation(const ConstantRelocatable *CR);
DIceELFObjectWriter.cpp630 const auto *Sym = llvm::cast<ConstantRelocatable>(S); in setUndefinedSyms()
/external/swiftshader/third_party/subzero/tests_lit/assembler/arm32/
Dmov-const.ll2 ; ConstantRelocatable (see mov-imm.ll for the ConstantRelocatable case).
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Darith.ll266 ; ConstantRelocatable as an immediate operand.

12