Home
last modified time | relevance | path

Searched refs:PtrToInt (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperator.h560 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
561 friend class PtrToInt; variable
DConstantFolder.h216 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DNoFolder.h280 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DInstruction.def193 HANDLE_CAST_INST(47, PtrToInt, PtrToIntInst) // Pointer -> Integer
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp230 case Instruction::PtrToInt: in ComputeSpeculationCost()
DGVNSink.cpp475 case Instruction::PtrToInt: in lookupOrAdd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp117 case Instruction::PtrToInt: in createReplacementInstr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp304 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal()
342 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast()
1232 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1258 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1315 case Instruction::PtrToInt: in ConstantFoldCastOperand()
1340 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
DScalarEvolutionExpander.cpp112 Op == Instruction::PtrToInt || in InsertNoopCastOfTo()
128 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo()
131 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
137 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
DCFLGraph.h517 case Instruction::PtrToInt: { in visitConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h199 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DTargetTransformInfoImpl.h84 case Instruction::PtrToInt: { in getOperationCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp2501 case Instruction::PtrToInt: in isNoopCast()
2753 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
2775 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
2843 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2861 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
2896 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
3126 return PtrToInt; // ptr -> int in getCastOpcode()
3226 case Instruction::PtrToInt: in castIsValid()
3403 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
3409 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
DGlobals.cpp456 case Instruction::PtrToInt: in findBaseObject()
DConstants.cpp553 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && in needsRelocation()
554 RHS->getOpcode() == Instruction::PtrToInt) { in needsRelocation()
1307 case Instruction::PtrToInt: in getWithOperands()
1657 case Instruction::PtrToInt: in getCast()
1856 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt()
3067 case Instruction::PtrToInt: in getAsInstruction()
DInstruction.cpp350 case PtrToInt: return "ptrtoint"; in getOpcodeName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def170 HANDLE_CAST_INST(45, PtrToInt, PtrToIntInst) // Pointer -> Integer
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackProtector.cpp178 case Instruction::PtrToInt: in HasAddressTaken()
DMachineFunction.cpp1080 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
1086 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceConverter.cpp234 case Instruction::PtrToInt: in convertInstruction()
785 case Instruction::PtrToInt: { in addGlobalInitializer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1825 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte()
1847 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte()
2065 case Instruction::PtrToInt: { in lowerConstantForGV()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp91 case Instruction::PtrToInt: in isSimpleEnoughValueToCommitHelper()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp541 if (UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
DAMDGPUTargetTransformInfo.cpp830 case Instruction::PtrToInt: in getUserCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp170 case Instruction::PtrToInt: in getIntImmCostInst()

123