Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp176 if (CastInst->isCast()) in findMatInsertPt()
466 if (!CastInst->isCast()) in collectConstantCandidates()
484 if (!ConstExpr->isCast()) in collectConstantCandidates()
501 if (Inst->isCast()) in collectConstantCandidates()
798 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
827 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
H A DTLSVariableHoist.cpp112 if (Inst->isCast()) in collectTLSCandidate()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DInstruction.h176 bool isCast() const { return isCast(getOpcode()); }
229 static inline bool isCast(unsigned OpCode) {
H A DAbstractCallSite.h147 if (CE->hasOneUse() && CE->isCast()) in isCallee()
H A DConstants.h1207 bool isCast() const;
H A DInstrTypes.h695 return I->isCast();
/openbsd/gnu/llvm/clang/include/clang/Tooling/
H A DNodeIntrospection.h46 bool isCast() const { return m_flags & IsCast; } in isCast() function
/openbsd/gnu/llvm/llvm/lib/IR/
H A DAbstractCallSite.cpp66 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
H A DConstantsContext.h59 return Instruction::isCast(CE->getOpcode()); in classof()
519 if (Instruction::isCast(Opcode))
H A DConstantFold.cpp89 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
91 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
372 if (CE->isCast()) { in ConstantFoldCastInstruction()
2119 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
H A DConstants.cpp1444 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr
1445 return Instruction::isCast(getOpcode()); in isCast()
1976 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
H A DIRBuilder.cpp545 if (CE->isCast()) in CreateThreadLocalAddress()
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp289 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
/openbsd/gnu/llvm/llvm/tools/bugpoint/
H A DExtractFunction.cpp272 if (CE->isCast()) in SplitStaticCtorDtor()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp65 if (CE->isCast()) in operator *()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp581 if (I->mayReadFromMemory() || I->isCast()) in getUserBonus()
H A DAttributor.cpp1726 if (CE->isCast() && CE->getType()->isPointerTy()) { in checkForAllCallSites()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp244 if (I->isCast()) in calculate()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DLint.cpp684 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
H A DConstantFolding.cpp1052 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl()
1412 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaExprObjC.cpp3909 unsigned convKindForDiag = Sema::isCast(CCK) ? 0 : 1; in diagnoseObjCARCConversion()
4449 (castACTC == ACTC_coreFoundation && isCast(CCK)))) in CheckObjCConversion()
4453 isCast(CCK)) in CheckObjCConversion()
4478 if (exprACTC == ACTC_retainable && isAnyRetainable(castACTC) && isCast(CCK)) in CheckObjCConversion()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp393 if (CE->isCast()) in runStaticConstructorsDestructors()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2099 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2248 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2644 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2830 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp7381 (Instruction::isCast(E->getOpcode()) && in getEntryCost()
7382 Instruction::isCast(E->getAltOpcode())) || in getEntryCost()
9732 (Instruction::isCast(E->getOpcode()) && in vectorizeTree()
9733 Instruction::isCast(E->getAltOpcode())) || in vectorizeTree()

12