Home
last modified time | relevance | path

Searched refs:isCast (Results 1 – 25 of 65) sorted by relevance

123

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp125 if (CastInst->isCast()) in findMatInsertPt()
218 if (Inst->isCast()) in collectConstantCandidates()
252 if (!CastInst->isCast()) in collectConstantCandidates()
266 if (!ConstExpr->isCast()) in collectConstantCandidates()
503 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
/external/llvm/include/llvm/IR/
DInstruction.h108 bool isCast() const { return isCast(getOpcode()); }
137 static inline bool isCast(unsigned OpCode) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h117 bool isCast() const { return isCast(getOpcode()); } in isCast() function
151 static inline bool isCast(unsigned OpCode) { in isCast() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstruction.h133 bool isCast() const { return isCast(getOpcode()); }
185 static inline bool isCast(unsigned OpCode) {
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp177 if (CastInst->isCast()) in findMatInsertPt()
449 if (!CastInst->isCast()) in collectConstantCandidates()
467 if (!ConstExpr->isCast()) in collectConstantCandidates()
484 if (Inst->isCast()) in collectConstantCandidates()
780 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
809 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp177 if (CastInst->isCast()) in findMatInsertPt()
453 if (!CastInst->isCast()) in collectConstantCandidates()
471 if (!ConstExpr->isCast()) in collectConstantCandidates()
488 if (Inst->isCast()) in collectConstantCandidates()
785 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
814 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
/external/llvm-project/llvm/include/llvm/IR/
DInstruction.h168 bool isCast() const { return isCast(getOpcode()); }
220 static inline bool isCast(unsigned OpCode) {
DAbstractCallSite.h147 if (CE->hasOneUse() && CE->isCast()) in isCallee()
/external/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp59 if (CE->isCast()) in operator *()
/external/llvm-project/llvm/lib/IR/
DAbstractCallSite.cpp67 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
DConstantsContext.h61 return Instruction::isCast(CE->getOpcode()) || in classof()
609 if (Instruction::isCast(Opcode) ||
DConstantFold.cpp91 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
93 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
545 if (CE->isCast()) { in ConstantFoldCastInstruction()
2486 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAbstractCallSite.cpp66 if (CE->getNumUses() == 1 && CE->isCast()) { in AbstractCallSite()
DConstantFold.cpp81 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
83 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
540 if (CE->isCast()) { in ConstantFoldCastInstruction()
2335 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
DConstantsContext.h533 if (Instruction::isCast(Opcode) ||
/external/llvm-project/llvm/test/Transforms/ConstantHoisting/AArch64/
Dconsthoist-unreachable.ll6 …m::Type *, const llvm::consthoist::ConstantUser &): Assertion `CastInst->isCast() && "Expected an …
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp305 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp305 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp87 if (CE->isCast()) in operator *()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp63 if (CE->isCast()) in operator *()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp356 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
/external/llvm-project/llvm/tools/bugpoint/
DExtractFunction.cpp272 if (CE->isCast()) in SplitStaticCtorDtor()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp273 if (CE->isCast()) in SplitStaticCtorDtor()
/external/llvm/lib/IR/
DConstantFold.cpp80 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
82 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
541 if (CE->isCast()) { in ConstantFoldCastInstruction()
2168 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
DConstantsContext.h506 if (Instruction::isCast(Opcode))

123